wcsoctu
asked on
Close Top Level form
I have a form that runs as a top level form. When the app starts, the main foxpro window is hidden and my form appears and all works well. I have a prg that is that is the main file for the project. Before calling the form, I have ON SHUTDOWN DO MyExit. MyExit is a prg that contains Release All, Clear Events, Quit. On my form I have an exit button that contains Clear Events.
When clicking the exit button, all works well. When I click the close button (red x) in the top right corner of the form, the red x now appears disabled and the form does not exit. I would like the form to close and the application to exit via the red x or the exit button. What am I missing?
When clicking the exit button, all works well. When I click the close button (red x) in the top right corner of the form, the red x now appears disabled and the form does not exit. I would like the form to close and the application to exit via the red x or the exit button. What am I missing?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER