1. #1
    Ext GWT Premium Member
    Join Date
    Apr 2010
    Posts
    43
    Vote Rating
    0
    hraing is on a distinguished road

      0  

    Default Answered: Window Key Listener

    Answered: Window Key Listener


    So, what I need to do is to close the window and go to a specific page.

    I´ve disabled the ESC funtion wich only cloes the window

    window.setOnEsc(false); so the window doesn´t do anyting now.

    now I want to add an handler which works for the window and all its children that caches the ESC on keypress becuase I want to direct the user to a specific page..

    Any Ideas??


    regards
    Hrafn

  2. Try doing the exact same way that the onEsc configuration is doing.

    Override the onKeyPress on your Window... and then, if esc was pressed, do something else other then calling hide(), which is the default.

    Hope this helps you.

    Regards,
    Michel.

  3. #2
    Sencha User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    867
    Answers
    9
    Vote Rating
    1
    micgala is on a distinguished road

      0  

    Default


    Try doing the exact same way that the onEsc configuration is doing.

    Override the onKeyPress on your Window... and then, if esc was pressed, do something else other then calling hide(), which is the default.

    Hope this helps you.

    Regards,
    Michel.

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