TomasDill, u ask about ON SHUTDOWN?
Imagine this:
What if user doesn't close your application while shutting down his/her computer?
Your application will be left hanging.
In my case:
My application doesn't quit until the user clicks the 1 & only 'QUIT' commandbutton in my form.
Thus, when the user is in a hurry to shutdown & forgot to close my application, my application will prompt 'Cannot Quit Visual FoxPro'. This is very frustating to the user.
So 2 prevent this frustration, ON SHUTDOWN tells your application what 2 do when user exits windows.
(If u already knew all this, just ignore this)