>>By "on shutdown" we can create some mechanism to stop/control the application's end process..
>>
>>What about a form object (with both title and closeable set .t.) what is the best way to stop the process started by a click on the X (upright corner buttom)..
>>
>>Is it the possibility to use a "nodefault" command at release/unload methods to stop the default behavior? I'd like to turn it invisible instead of down..
>>
>>TIA
>>
>>Claudio
>
>Clicking on X button you fire QueryUnload event. In it you could put:
>
>thisform.Hide()
>NODEFAULT
>RETURN .f.
>
>
Thanks Borislav.. You got it.. I tried (almost) the same on release and unload.. but I forgot about queryunload.. Works fine
Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20