>Hi..
>
>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.
That will hide the from and will stop the form to be released.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.