is there any event which would catch closing of a modal window by default "x" in upper right corner?
Currently workaround is to disable default "x" in upper right corner, create a close button, and catching button's buttonPress event.
But what if I don't want to use a button, and use a default window/dialog functionality. Can I somehow catch that action?
asked 29 Sep '12, 14:02
Hi Tomeo, You can use the posthide event of the dialog. Basically the dialog is never deleted or closed but only hided. I found this when I implemented a wizard style dialog, that after step3 it closed. When I called the dialog again it started from step3! as if it was never deleted.
answered 30 Sep '12, 01:56