Am 4. Okt 2004 um 00:36 schrieb Will Leshner:
On Oct 3, 2004, at 3:11 PM, Charles Kelley wrote:
How do I achieve that? When I first began developing it in a THINK
Pascal program a decade ago, I put the check in the idle event. But I
don't see an event analogous in RB. Can anyone suggest where to put
the check?
I usually use a control's Change event (or the analogous) to do such a
check. You'll have to put it in each control's Change event, though.
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.
s
_______________________________________________
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>
|