Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Quit Vs. Cancel
Message
 
 
To
18/10/2010 18:18:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01486064
Message ID:
01486065
Views:
91
>Hi friends.
>
>Excuse me for this question but I have a doubt
>
>I programed error events and when I can't manage it I alert the user the program is going to cancel...
>
>Then
>
>QUIT.
>
>The most times subsequents errors occur and I/we have to use Windows task admin. As I'm developping as it's run time
>
>If I use CANCEL instead of QUIT apparently I get what I want.
>
>If I read VFP help and it says "Always use QUIT to terminate a Visual FoxPro session. If you turn the computer off without issuing QUIT, open files might become damaged and data lost, and temporary work files that would normally be deleted may be left on disk." I might figure CANCEL is not a good solution.
>
>I can't understand why If I use QUIT the program goes on.
>
> Héctor

Try adding clear events also.
And ON SHUTDOWN before quit.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform