Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to catch the (x) close button of the main screen?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00143195
Message ID:
00143352
Vues:
18
><snip>
>
>>Check out the ON SHUTDOWN comamnd.
>
>i use a toplevelform (not _screen). also want to execute a proc or custom method to check it is a valid exit before exiting. i tried the "ON SHUTDOWN DO exit_app" in my main. exit_app is a proc in my "SET PROCEDURE TO .prg". put an assert .f. in exit_app and it is never executed.
>
>any ideas
>
>brenda

Brenda,

yes the top level form closing does not end your app. In the Unload of the top level form be sure to issue a QUIT command.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform