Information générale
Catégorie:
Codage, syntaxe et commandes
>>When I ckick on the close button [x] on a form, it fires the form's queryunload event. What sequence of events is triggered by clicking on the close button of the main FoxPro application window (specifically when one or more forms is open).
>>
>>Bob
>
>The best thing to do here is not guessing but adding ON SHUTDOWN routine where you will define the event sequence (in simplified case you can put there the same code as you have under Toolbar(Menu)/Exit option).
Thanks Ed
I have heard, though, that the on shutdown runs as, or acts like a separate windows thread, and can actually shut down Foxpro while code is activly running is in form. As a result, I,m a little scared of it and would like to know what options are available. That is, what happens if there is no "on shutdown" set up.
Bob
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