` Printed Icetips Article

Icetips Article



Par2: Accept Loop -- Why it fires "multiple" times
1998-07-27 -- Richard Taylor
 
The ACCEPT loop cycles once for every event that occurs in your procedure
that your code might need to handle. Some actions fire multiple events. For
example: opening the window fires EVENT:OpenWindow and EVENT:GainFocus;
tabbing from one control to another fires EVENT:Accepted for the control
you're moving from (if the user entered data) then EVENT:Selected for the
control you're moving to. That's why ACCEPT sometimes cycles multiple times.



Printed May 7, 2024, 12:00 pm
This article has been viewed/printed 35112 times.