1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    1
    Vote Rating
    0
    darioschmidt is on a distinguished road

      0  

    Default Unanswered: Focus in MessageBox

    Unanswered: Focus in MessageBox


    Hi, i´m using gxt 3.0.1.

    I use a dialog to enter login details.

    If the password is not valid, a message is presented to the user using a messagebox. The problem I have is that the focus is not on the messagebox but in the login dialog.


    The same happens in the example above MessageBox in the "Sencha GXT Explorer".


    In what way I can put the focus on the messagebox?

    Thanks.

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Posts
    1,934
    Vote Rating
    55
    Answers
    73
    Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough Colin Alworth is a jewel in the rough

      0  

    Default


    It appears that there may have been a bug in this, but was fixed in 3.0.2 or 3.0.3 - http://staging.sencha.com:8080/examp...ace:messagebox

    One possible workaround might be to focus() the window or the button you are interested in when the ShowEvent fires.