Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing form
Message
 
 
To
17/03/2000 01:48:13
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00346355
Message ID:
00347022
Views:
56
>>In the Error method of your form baseclass, you could include the command of ThisForm.QueryUnload()
>
>QueryUnload() is an event, it won't do anything if you just call it.
>
>You need to Release() the form, but this will fire code from the Destroy() and Unload() and whatever else is in its path (which I believe he wanted to bypass), so you just need to set flags wether or not to fire cleanup code.

Oops. I forgot to mention that all this is in my base form framework so I cover all ways of closing a form. My QueryUnload code has a This.Release() as the last line if all goes well in that method.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform