>>Do you mean when you click on the VFP main screen close button, not the form's button? In this case the ON SHUTDOWN routine fires, not the form QueryUnload. You need to close all open forms in this case. See
How can I release all open forms FAQ #7975
>
>Yes, when I click on VFP main screen close button.
>
>In goApp.MyProcedureForShutdown() there is only CLEAR EVENTS.
>Maybe I should put some method for releasing all open forms as you suggested.
Yes, you need to add few more things to ON SHUTDOWN procedure.
I believe this is the discussion I meant
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1714491&SiteID=1
If it's not broken, fix it until it is.
My Blog