` Accept Loop -- Why it fires "multiple" times (Richard Taylor ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

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.


Today is April 26, 2024, 4:27 pm
This article has been viewed 35107 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: