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...
Mark McCasland
Midlothian, TX USA