1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    9
    Vote Rating
    0
    aaaee8 is on a distinguished road

      0  

    Default Window "always on top" feature

    Window "always on top" feature


    In my large application, I need to have a windows with "always on top" feature. I looking for solutions at the forum and maillists, but did not find anything suitable.
    I'm using the following method, it works, but I do not like it. Do not even know what, maybe the loop as is (the revision of all windows).
    So question to ExtJS guru: what is wrong in my decision? Is it normal way to do so?
    Thanks.
    Code:
    var usualWin = new Ext.Window({
        // ...
        listeners: {
            activate: function() {
                Ext.WindowMgr.each(function(w) {
                    if (w.alwaysOnTop)
                        w.toFront();
                });
            }
        }
    });
    var aotWin1 = new Ext.Window({
        // ...
        alwaysOnTop: true,
        // ...
    });
    var aotWin2 = new Ext.Window({
        // ...
        alwaysOnTop: true,
        // ...
    });

  2. #2

  3. #3
    Ext User
    Join Date
    Feb 2009
    Posts
    9
    Vote Rating
    0
    aaaee8 is on a distinguished road

      0  

    Default


    Quote Originally Posted by Animal View Post
    1. The hack of "widgets/WindowManager.js" doesn't work. Any click to not "alwaysOnTopped" will sends "topped" to back.
    2. The "Ext.ux.WindowAlwaysOnTop" plugin do a loop like in my example. Ofcource using plugin is better, but...
    3. "self.manager.bringToFront(self);" or "self.toFront();" on deactivate event are not reflects the task.

  4. #4
    Sencha User kryo's Avatar
    Join Date
    Jan 2010
    Location
    Costa Rica
    Posts
    34
    Vote Rating
    0
    kryo is on a distinguished road

      0  

    Thumbs up *bump*

    *bump*


    imho, alwaysOnTop feature is a must have... PLEASE GUYS!!!

    *bump* x2
    --
    Hans Doller
    hans@w3forge.org
    Senior Web Developer & Consultant

    Contributed Plugins: Ext.date.RangeField, Ext.money.Exchange, Ext.locale.Format, Ext.ux.Bootstrap

  5. #5
    Sencha Premium Member
    Join Date
    Jun 2008
    Posts
    1
    Vote Rating
    0
    kuindji is on a distinguished road

      0  

    Default


    There is another way:

    Code:
    var onTop = new Ext.WindowGroup;
    onTop.zseed = 10000;
    
    new Ext.Window({
    manager: onTop
    });

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi