For any widget element:
/**
* Sets the focus state of the element.
* @param focused the new focus state
*/
public native void setFocus(Element elem, boolean focused) /*-{
try {
if (focused)
elem.focus();
else
elem.blur();
}
catch(err) {
}
}-*/;
On Fri, Dec 30, 2011 at 10:31 AM, Amrutha Thomas
<[email protected]>wrote:
> Hiii,
>
>
> Can anyone tell me how to change focus from one textbox to another
> textbox using gwt?
>
>
>
>
>
> --
> with best regards,
>
> Amrutha
>
> --
> 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.
>
--
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.