>When release a form from the close box of the form, my QueryUnload event fires but not when I issue the command _Screen.ActiveForm.Release() from the toolbar. Is there a special way to close a form from the toolbar and fire the QueryUnload event?
>
>Thank you very much
>Christian
CVristian,
In the form's Release method do this;
IF NOT THISFORM.QueryUnload()
NODEFAULT
ENDIF
That will call the queryunload and stop the release if the queryunload returns .F.