Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2003 Server
Naomi,
I have these commands in the main program of the application:
do mainmenu.mpr
on shutdown do shutdownprogram
read events
I put assert command into shutdown program. However, it's not being called when I try to close the application in IDE by clicking on the x of the screen.
What is it called then and why this program is not called?
I usually do a VerifyQuit() trap on at least two spots: In a menu option, and putting the same code in the QueryUnload() event (this event fires when one tries to close a form using the X button.)
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