>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!