>To confure things more, I just have ON SHUTDOWN CLEAR EVENTS. This way all manners of closing the app run through the same shutdown code. In my experience, ON SHUTDOWN QUIT, or just QUIT wihtout CLEARing EVENTS causes "Cannot quit Visual Foxpro".
I think I tested that, but it did not work right with TL apps. TLs don't generally have the "Cannot Quit..." problem.
It actually is quite difficult to trigger ON SHUTDOWN with a TL app...
Of course in a non-TL app, things are very different.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.