I've done a popup login and the setFocus property works perfectly. The
only thing that you have to pay attention on is that the last command
in your login page load or constructor must be setFocus...
For example:
public class login....
TextBox usuario=new TextBox();
public login(){
...
// Do what ever you need
...
usuario.setFocus(true);
}
...
}
On 23 mar, 01:38, DK <[email protected]> wrote:
> I have a login page ... I want to keep the username TextBox focused on
> page load ... I am trying to call the setFocus(true) method on my
> TextBox instance. I cannot see the focus on the textbox with the
> cursor in it. Has anyone faced similar issue ?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.