Results 1 to 4 of 4

Thread: Disable parent window when Ext.Window pops up

  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    26

    Default Disable parent window when Ext.Window pops up

    Hi,


    I have a Ext.Window popup coming up which masks my parent window.

    The problem is i can access the background buttons with the tab keys, even if they are masked.

    Can someone provide a help how to disable keyboard access on the background window?

  2. #2
    Sencha User sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,335

    Default

    HI!

    while opening your popup, you may try to stop event for key down from your keyboard.

    Code:-
    Ext.EventManager.stopEvent('keydown');

    check this:-http://docs.sencha.com/ext-js/4-1/#!...thod-stopEvent
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409

    Default

    Perhaps you could make the window modal?

    Scott.

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    26

    Default

    There are multiple control on the pop up window and wana access with tab control, after last control tab switches on to the parent window, tab control should be on to the first control on the pop up window.
    is there any example and any code snippet..

    Thanks in advance

Posting Permissions

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