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:
00143352
Views:
17
><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.
Previous
Reply
Map
View

Click here to load this message in the networking platform