1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    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
    Location
    Minnesota
    Posts
    2,732
    Answers
    109
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      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.

Thread Participants: 1