Hell Mark,
We do have ON SHUTDOWN DO ExitProc, but the trouble is when calling a form via menu (whole app has been loaded at this point), and it has a wait state while loading - DE tables, the user have the tendency to click the 'X' which causes the error.
>I have my ON SHUTDOWN DO code right before my user login form which is modal. So if the user clicks the _screen close button, they get a Can Not Quit FoxPro message which allows the app to continue its launch once they close that message box.
>
>>scenario:
>>If a form is still loading, the user clicked the 'X' of the _SCREEN object.
>>
>>Effect:
>>Abnormal termination of the application which forces to execute the ON SHUTDOWN DO exitprogram routine. The form being opened will not continue loading which gives error: object not found blah...blah...
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."