Results 1 to 2 of 2

Thread: Window close action

  1. #1

    Default Window close action


    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!

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL


    If you listen for the beforeclose event on the window and return false, the close will be canceled.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:

    Posts are my own, not any current, past or future employer's.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts