Results 1 to 5 of 5

Thread: Get if a window is modal

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User Fire-Dragon-DoL's Avatar
    Join Date
    Dec 2011
    Posts
    141
    Answers
    9
    Vote Rating
    1
      0  

    Default Answered: Get if a window is modal

    Outside the window class, (or even inside an event of that window) I would like to see if it's modal

    I know it's a config but I need it to disable the taskbar when my window becomes active if it's modal :\ (it's a desktop-like app)

  2. No problem, I found the solution: in the constructor the config is applied after callParent, so in constructor is a bit problematic effectively find out the modal value.

    I solved by moving code to initComponent, there I can access it simply with "this.modal" and do some stuff

Tags for this Thread

Posting Permissions

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