Friday, December 30, 2011

Re: gwt

textbox.setFocus(true);



On 30 December 2011 09:49, Ed Bras <post2edbras@gmail.com> wrote:
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 <amrutha.thomas@gmail.com> 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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
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 google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment