© Copyright 1993-94 Apple Computer, Inc, All Rights Reserved StrangeChanges 1.0 -- by Todd Courtois NTK 1.0 This sample code implements a workaround to a current clEditView bug. The bug is, if you change the clPolygonView child of a clEditView without changing the viewBounds of the polygonView, the clEditView's viewChangedScript will not be called as it should be. The workaround is to slap a viewClickScript onto every child clPolygonView. This click script uses a deferred-action "checksum" on the polyugonView's points slot to determine if the points have changed. If the points have changed, it calls the parent clEditView's viewChangedScript. This sample code reveals yet another bug in the clEditView, which is that on the very first tap in the child clPolygonView, the child's viewClickScript will not be called even though the child has been clicked on. This is a good example for studying when certain scripts are called in a clEditView. It prints to the listener as various scripts are called. Also very instructive on how to add your own scripts to the auto-generated children of a clEditView.