Nothing. (or maybe a RETURN).
You may want to look at the ON SHUTDOWN command. I create a seperate program and then at the begining of my app I have something like ON SHUTDOWN DO myprg.
Seems like if you've got the code in a Destroy event it might be too late to back out of closing down.
>What is the proper way to verify if a user wants to quit an application? I have the following in my Destroy event, but I don't know what to do if they answer 'No'.
>
>TIA
>
>Answer=MessageBox("Are you sure you want to quit?",276,"Quit?")
>Do Case
> Case Answer=6
> Close Tables all
> Close DataBases All
> Clear Events
> Case Answer=7
> (What do I do here?)
>EndCase
>
ICQ 10556 (ya), 254117