Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot quit VFP, why?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Cannot quit VFP, why?
Miscellaneous
Thread ID:
00565459
Message ID:
00565459
Views:
47
Hi, don't know why, but i can't make this work.

I have my login form with 2 buttons, OK and Cancel. If the user clicks on the Cancel button, the app have to finish, but I keep getting the message "Cannot quit Visual FoxPro".

Here is the code placed on the click event of the Cancel button:
ON SHUTDOWN

SET SYSMENU TO

CLOSE DATABASES ALL

WAIT CLEAR 
 
RELEASE ALL EXTENDED

CLEAR EVENTS

QUIT
please, help.

Alonso
Like Frank said: "I did it... MY WAY!"
Next
Reply
Map
View

Click here to load this message in the networking platform