Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>>Hi everyone, I'm running an executable(standalone) of my app and whenever I click on the 'X' on the upper right corner to exit, I get the infamous "Cannot quit Visual Foxpro" how can this be avoided and just exit the program without going through the menu?
>>
>>CLEAR EVENTS
>
>Thanks a lot Michel, but where in the program should I put that; I already have a clear events command on the menu, on my exit option, and my question was how to exit WITHOUT going through the menu?
Use ON SHUTDOWN command. You can just use ON SHUTDOWN QUIT, but it is probably better to call a procedure to clean up before quitting.
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