>Hi
>
> The X-Close button calls queryunload and then releases the from. However if you put a set step on in the Release() it never gets there.
>
>Gary
That's right. IIRC, you have to intercept QueryUnload() for this reason. Or does this not get called in other circumstances? I don't remember exactly, since it is usually the framework that takes care of those details.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)