I have a pop up grid widget that is sourced from a workfile. The Workfile is cleared only when the user cancels or closes the pop up grid widget.
In my case I want to generate a confirmation pop up (yes or no) before the widget closes. If the user clicks 'yes' then call my rpg program and hide the pop up widget. If the user clicks no, then do nothing and keep the pop up open. This behaviors works great when the user click the 'cancel' button I created, but it does not work when the user clicks the top right 'x' to close the widget.
Instead, the widget closes before any confirmation from the user. The user then sees the pop-up after the widget is closed. At that point the confirmation is of no use. Can you please help with this?
Please view attached screenshots and let me know if you need more details. Thank you.
In my case I want to generate a confirmation pop up (yes or no) before the widget closes. If the user clicks 'yes' then call my rpg program and hide the pop up widget. If the user clicks no, then do nothing and keep the pop up open. This behaviors works great when the user click the 'cancel' button I created, but it does not work when the user clicks the top right 'x' to close the widget.
Instead, the widget closes before any confirmation from the user. The user then sees the pop-up after the widget is closed. At that point the confirmation is of no use. Can you please help with this?
Please view attached screenshots and let me know if you need more details. Thank you.
Comment