TIP: Click on subject to list as thread! ANSI
echo: delphi
to: HANS TAP
from: GARY WEINFURTHER
date: 1997-12-02 09:13:00
subject: OnChange event

Hans Tap mentioned this to All:
 HT> Is there a way to get the controlstate so I can
 HT> skip the logic for the OnChange event? Otherwise I recieve a message: 
an
 HT> not focus on a nonvisible window. My code reacts om the OnChange event 
and
 HT> skips to the next control but that should not happen when the form is
 HT> loaded!
One way is to detach the control from the OnChange handler, then assign the 
handler to the control in the OnFormShow handler.  That way, the form has 
already been loaded.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.