Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clicking x (close) on App window
Message
De
19/03/1999 11:29:31
 
 
À
19/03/1999 11:12:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00199757
Message ID:
00199773
Vues:
22
>>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
Fil
Voir

Click here to load this message in the networking platform