>clicking on the "X" will close the form thus you can trap a click on in in
>the queryunload event , note however that your close button will also fire
>this so you have to set some flag to see it wasn't your button that was
>clicked
>
>Arnon
>
>>
>> Is there an EVENT for the X at the top right of a FORM? I
>> would like to write code for the CLICK EVENT of that X.
>>
Hi Arnon... why do you need a CLOSE BUTTON if you can CLOSE with
the X at the top right of the FORM?