PDA

View Full Version : Window close action



techno_oev
10 Dec 2011, 4:24 PM
Hello,

I dint set closeAction on Window and instead created a close event on the window. So now when I click on close, the window closes and then the close event fires. How can I stop the window from closing? Please help!

mitchellsimoens
12 Dec 2011, 11:41 AM
If you listen for the beforeclose event on the window and return false, the close will be canceled.