Thats done it, many thanks
>>Is it possible to make some code run if the user clicks the cross on my form.
>>
>>I want the form to minimize not close.
>>
>>I want to run the destroy event only to run when I release the from.
>
>You can have nodefault in queryunload or set closable to .f.
>Cetin
Rob