Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with .exe file.
Message
From
20/08/2001 14:33:56
 
 
To
19/08/2001 22:35:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00545912
Message ID:
00546367
Views:
16
>In my main form I have an exit button with the Clear Events command only. It's supposed to execute the next line after the Read Events, right?

Nope, not necesarrily. CLEAR EVENTS just ends a READ EVENTS. Is your form Modal? If it is, then the program is put into a wait state when your Form is called. When the form ends, control goes ack to the program, and teh next line executes, in your case it would be READ EVENTS. That puts teh program into another wait state, that can only be ended with a CLEAR EVENTS. If the CLEAR EVENTS in your form is run before the READ EVENTS, it will have absolutley no effect, and the the READ EVENTS will eventually stop the program indefinitally.

So, if your form is modal, remove both the READ EVENTS and teh CLEAR EVENTS and you should be fine.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform