Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLEAR EVENTS - bug or feature?
Message
 
To
23/11/1998 14:19:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00160607
Message ID:
00160738
Views:
17
>Just discovered that issuing a CLEAR EVENTS in an event/method does not immediately return program execution to the line following READ EVENTS, but instead finishes executing the event/method before doing so.
>
>Therefore, if CLEAR EVENTS is not the last line of code in an event/method, it must be followed by a RETURN TO or the event/method will continue processing before program execution returns to the line following READ EVENTS.
>
>Don't know if this is a bug or feature - it is certainly undocumented. Actually, it could be useful with respect to insuring the execution of clean-up code.

Jeff, this seems to be standard VFP functionality - you'll see the same thing if you call a non-modal form or show a container in the 'middle' of method-code - you won't see the form until the method-code is complete.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform