View Full Version : [solved] Exit behaviour from a window

4 Nov 2009, 12:37 AM
I have a regular Ext.Window and when the user clicks on the close
button - I'd like to show a dialog window 'Are you sure?' to give
them the option of canceling the operation.

I can see how I can listen for the exit request and return true/false,
but if I trigger a dialog box, and it needs a handler, its not clear
to me how I pass the 'yes/no' message back to the exit request
listener - if you see what I mean. I couldn't see any examples of
that on the demo pages.

Any ideas how to do this?

4 Nov 2009, 3:14 AM

4 Nov 2009, 12:57 PM
That's awesome thanks!