I found a little bug in cCheckbox. If anyone ever uses the uOldValue property to see whether a checkbox has changed, it doesn't work. Since the StoreOldValue method is called from the When event and the following event sequence fires when you click on a checkbox:
Form.Container.Checkbox.When() Form.GotFocus() Form.Container.GotFocus() Form.Container.Checkbox.GotFocus() Form.Container.Checkbox.Click() Form.Container.Checkbox.When()
it means that uOldValue and Value will always be the same. I believe the fix is to move the StoreOldValue call from the When event to the GotFocus event. :-) Pamela pamela At eagle-crest D.O.T com ©2001 Pamela Thalacker |