Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble With Errors
Message
 
To
14/09/1998 23:48:44
David Turnedge
Turnedge Associates
Sydney, Australia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00136581
Message ID:
00137223
Views:
21
TRY THIS

CLOSE ALL
CLEAR EVENTS
QUIT

HOPE THIS HELPS.

BECKY


>I'm trying to capture all the anticipated errors in my programs and, for the errors that slip through, I have an ON ERROR procedure called BadError:
>
>PROCEDURE BadError
>
>=MESSAGEBOX(error message and number code here)
>CLEAR EVENTS
>
>ENDPROC
>
>The only problem is that CLEAR EVENTS doesn't clear events - the program continues to run as though nothing happened after the message box is displayed.
>
>Any ideas how to force my program to quit back to Windows?
>
>David Turnedge
>Sydney, Australia
Previous
Reply
Map
View

Click here to load this message in the networking platform