ON SHUTDOWN will also fire on QUIT.
--Paul
>>>Programming in VFP 5.0. Have not noticed a need for ON SHUTDOWN, but just ran across it in the help. I control the exiting from my app, I think. What does ON SHUTDOWN do for you?
>>>
>>>Brenda
>
>>Usually, it does CLEAR EVENTS, or give a user better appropriate message than "Cannot Quit Visual Foxpro".
>
>still do not understand. Under what conditions is it fired?
>
>brenda