Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not quit Visual FoxPro
Message
 
 
To
07/11/1999 21:08:49
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00288300
Message ID:
00288303
Views:
13
You need an ON Shutdown routine. Somewhere in the beginning of your app, you would have a line of code like this:

On Shutdown Do GetOut

Now, you need to write a procedure that would have scope anywhere in your app. In your main calling program, you might have:

Procedure GetOut
*/ Do some checks to be sure we can exit the app
*/ If we can
*/ Quit
*/else
*/ Dialog the user
*/endif

Alternatively, you can reference a method in a public application class instances. The help section for On Shutdown is fairly complete...



EndProc



>I can't quit from my application by clicking the close button on the top right side (Closable property is setted true), my application will produce this following message : "Can not Quit Visual FoxPro", any body can help me please ..?, thanks in advance for any advice and suggestion ..
>
>Regards
>Winan
Previous
Reply
Map
View

Click here to load this message in the networking platform