Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to work with ON ERROR correctly?
Message
From
30/09/2004 00:23:31
Eugene Kolmakov
Millennium Technologies
Vladivostok, Russia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
How to work with ON ERROR correctly?
Miscellaneous
Thread ID:
00947400
Message ID:
00947400
Views:
44
Hi,
I want to use my own error handling routine instead of standard VFP dialog. And I want to terminate application if user clicks the "Quit" button in my error message form. How can I end application correctly if I use stand-alone .exe application with top-level main form?
I tried to use the following code:

Close all
Clear all
Quit

But it raises errors like "Cannot clear object in use", etc.
What are the right steps to shut down application ?
Eugene
Next
Reply
Map
View

Click here to load this message in the networking platform