>>>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?
>
>>It's not as important now, I think...I use only top-levels with hidden _screen, and control exiting in the Queryunload, so ON SHUTDOWN isn't used...but if you use main _screen and someone clicks on 'X' button, that's where ON SHUTDOWN is useful...
>
>I also use the Querunload and toplevelforms. But what happens if someone tries to quit your application from program manager? What handles that?
Makes no difference...apparently it is then handled by Task Manager, which does "smooth" Windows application closing...try it, and you'll see...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.