Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to catch the (x) close button of the main screen?
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00143195
Message ID:
00143211
Views:
21
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform