Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In Ext.window.Window, there's a property called '<em>modal</em>': set it to true.</p> <p>Otherwise, use the <strong>WindowManager</strong> to manage your windows: in this case you have to follow the following steps:</p> <ol> <li><strong>register</strong> your windows to the WindowManager (<em>Ext.WindowManager.register (winId)</em>)</li> <li>use <strong>bringToFront</strong> method to set your window on top (<em>Ext.WindowManager.bringToFront (winId)</em>)</li> <li>finally, check the element on top with the <strong>getActive</strong> method (<em>Ext.WindowManager.getActive ()</em>)</li> </ol> <p>E.g.:</p> <pre><code>Ext.create ('Ext.window.Window', { title: 'Your window' , width: 300 , height: 300 , html: 'ciao ciao' , modal: true }).show (); </code></pre> <p>Or:</p> <pre><code>var win1 = Ext.create ('Ext.window.Window', { title: 'Your window' , id: 'firstWin' , width: 300 , height: 300 , html: 'ciao ciao' , }); win1.showAt (50, 50); var win2 = Ext.create ('Ext.window.Window', { title: 'Your window' , id: 'secondWin' , width: 300 , height: 300 , html: 'I love pizza' , }); win2.showAt (60, 60); // Register your floating objects (window in this case) to the WindowManager Ext.WindowManager.register (win1); Ext.WindowManager.register (win2); // Bring 'firstWin' on top Ext.WindowManager.bringToFront ('firstWin'); // Then, check the zIndexStack alert (Ext.WindowManager.getActive().getId ()); // this is firstWin, the window with the highest zIndex </code></pre> <p>Hope this help you.</p> <p>Cyaz</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload