In the quit button:
thisform.release
in the destroy event of the form
clear events
(if you want the x to close too) in the queryunload event of the form
this.destroy
>I get "Cannot quit foxpro" when I have the following code in place
>
>"DO FORM EMMP
>read event"
>then in the form's quit button:
>
>release thisform
>clea event
>quit
>But I end up having to ctrl-alt-del
--Todd Sherman
-Wake Up! Smell the Coffee!