Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with .exe file.
Message
De
20/08/2001 14:33:56
 
 
À
19/08/2001 22:35:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00545912
Message ID:
00546367
Vues:
11
>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
Fil
Voir

Click here to load this message in the networking platform