I am trying to add an exit dialog for my JMP application. I currently have made a simple modal window that opens when the user attempts to exit my application.
Here is the code for the exit dialog:
(thisModuleInstance<<GETBOX></GETBOX>
The OK button was easy enough, but how do I stop the application from exiting if the user hits cancel? Whenever I hit cancel it just stops the application from running instead of stopping the application from exiting.
Thanks
Take a look at Interact with a Closing Window. If the On Close() function returns a 0 the window will not close.