1. #1
    Ext User
    Join Date
    Dec 2008
    Posts
    3
    Vote Rating
    0
    Mohammad is on a distinguished road

      0  

    Default Hide window OnMouseOut

    Hide window OnMouseOut


    Hi there,

    Can any one advise on who to hide gxt or gwt window onMouseOut plz. So simply if you moved the mouse out of the window then window should be hidden.

    Thanks in advance.

    Cheers,
    Mohammad
    Last edited by mystix; 29 Apr 2009 at 9:20 PM. Reason: moved to GXT 2.x Help from Ext Open Discussion

  2. #2
    Ext GWT Premium Member takayser's Avatar
    Join Date
    Oct 2008
    Location
    Lucerne, Switzerland
    Posts
    188
    Vote Rating
    0
    takayser is an unknown quantity at this point

      0  

    Default


    Code:
    public void onModuleLoad() {
    
          final Window w = new Window() {
             @Override
             protected void onRender(Element parent, int pos) {
                super.onRender(parent, pos);
                sinkEvents(Event.ONMOUSEOUT);
             };
          };
          w.setSize(500, 500);
    
          w.addListener(Events.OnMouseOut, new Listener<BaseEvent>() {
             public void handleEvent(BaseEvent be) {
                w.hide();
             }
          });
          w.show();
    }

  3. #3
    Ext User
    Join Date
    Dec 2008
    Posts
    3
    Vote Rating
    0
    Mohammad is on a distinguished road

      0  

    Default Hide window OnMouseOut

    Hide window OnMouseOut


    Thanks for your reply.

    Cheers,
    Mohammad

Thread Participants: 1

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