General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only