Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is probably impossible, but...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00279088
Message ID:
00279224
Views:
15
>I always NODEFAULT the QueryUnload and dispatch a custom method with the ReleaseType, which then invokes the Release method as appropriate. This lets me put code in the Release method that I can guarentee gets run when the form is closed (unless someone gets nasty and invokes the Destroy directly) - I don't use FormSets, but often have child forms that should be shut down before the parent form shuts down (they might be holding an object reference to the parent form, and rely on PEMs from the parent form during their life.)

Got it. Makes a lot of sense to do it that way. Thanks Ed.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform