Matt,
The ON SHUTDOWN command is used to trap the user clicking the X on the VFP window. If you are using TopLevel forms you can use code in the QueryUnload() method to allow/prevent form closure.
>I am writing an application using Visual MaxFrame. I am posting this here as the Maxframe discussion area is down.
>
>I would like to put a check when the user attempts to close the application and gives the user a warning message that allows the user to abort shutting down the application.
>
>Where should I put this code?