Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to exit my application after an error
Message
From
10/09/2004 11:28:45
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00941058
Message ID:
00941068
Views:
8
Hi Hans.

>how can I exit my program when I encounter an error ?? My application is menu driven, so when I launch it, I have a main menu. Forms are launched using the menu. When an error is encountered the application should shut down completely. I tried the cancel and quit command but nothing seems to work.

Did you use the CLEAR EVENTS command in your error handler? That tells VFP to exit the event loop.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform