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:
00143211
Vues:
22
Take a look at the ON SHUTDOWN command. ON SHUTDOWN QUIT should allow the application to exit any time a user clicks the close box or shuts down Windows. You can also specify a procedure to run when this happens.

>Hello,
>
>At the moment we are using VisualFoxPro 5.0a. We have created an application and we discoverd when you press the (x) close button on the main _SCREEN it will show the requester: 'Cannot quit VisualFoxPro'. We can disable the close button with _SCREEN.CLOSABLE = .F. but that's not what we want. How can we have the application quit when people press the (x) close button on the main _screen?
>
>Thanks in advance for your time and answer!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform