Information générale
Catégorie:
Codage, syntaxe et commandes
>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement