Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to extract grid props when form closes?
Message
From
13/12/1999 16:43:46
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00302791
Message ID:
00302985
Views:
23
>Michael,
>
>If you wna this to occur everytime the fomr is released no matter how it is released, then put your code in the form's Destroy event. It fires before the contained objects have been destroyed.
>
>The QueryUnload event only fires if the form is released using the Close (X) button or through RELEASE FormReference. If Thisform.Release() is called the form is released but the QueryUnload does not get fired. The Destroy gets fired for all methods of releasing the form.

PMFJI,

Do you know if this difference in behaviour (firing of QueryUnload()) is "by design"?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform