Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop DESTROY method and return to form?
Message
 
 
To
10/10/2001 22:43:34
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00566762
Message ID:
00566768
Views:
13
>When a user closes a form, DESTROY appears to be the first method fired that I can tell. If I put error checking in there, how can I, with a messagebox, send the user back to the form if they want to fix an error and NOT finish releasing the form? I have been guessing at some possibilities but they all seem to continue on and close the form.

You should put nodefault in QueryUnload to prevent form from closing. We have a custom Close method for our form's class.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform