On Oct 3, 2004, at 4:23 PM, Stefan Pantke wrote:
This works most of the time, but if you preset fields
from preferences e.g., the Change() event fires too.
And this might to odd situations from time to time, e.g.
if you do more than just enabling fields.
Therefore, another class/module/window local variable might
be required to stop actions in this case.
Usually I have a method that validates the OK button and enables or
disables it accordingly. It doesn't usually matter if I'm messing with
the values of controls because either the OK button is ready to be
enabled or it isn't.
--
REALbasic database options: http://sqlabs.net
REALbasic news and tips: http://rbgazette.com
KidzMail & KidzLog: http://haranbanjo.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|