I have created a close button on the top of my application and would like a window to appear that will give users the choice to either close the application or cancel the close request.
I have placed the following actions on the button:
%Result% = Dialog.MessageBox ("Close", "Do you want to close CPA into ...", Yes|No, Question)
Application.Exit
Unfortunately if you click "No" the application exits anyway.
What do I need to add to the actions to get "no" to just close the dialog box?
Thanks,
Stuart Cargin
I have placed the following actions on the button:
%Result% = Dialog.MessageBox ("Close", "Do you want to close CPA into ...", Yes|No, Question)
Application.Exit
Unfortunately if you click "No" the application exits anyway.
What do I need to add to the actions to get "no" to just close the dialog box?
Thanks,
Stuart Cargin
Comment