Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot Quit Visual Foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00201951
Message ID:
00202290
Views:
19
Hi Nick,

>on shutdown clear

This should be ON SHUTDOWN CLEAR EVENTS

>on shutdown clear event
>thisform.release()

And here you need a simple CLEAR EVENTS.

By default, VFP doesn't know what to do when a user clicks the "X" button. YOu have to explicitely tell VFP that you want to shut down the application in that case. ON SHUTDOWN lets you capture that request, CLEAR EVENTS is the reaction. It cancels the READ EVENTS and continues the execution of your main program.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform