Saturday, December 31, 2011

Re: gwt

Can you be a bit more specific - what exactly are you trying to do?

setFocus will move the focus to whatever you choose.

Ian

On 31 December 2011 05:50, Amrutha Thomas <amrutha.thomas@gmail.com> wrote:
but how can I change focus from one text box to another using this



On Fri, Dec 30, 2011 at 4:09 AM, Ian Bambury <ianbambury@gmail.com> wrote:
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.



--
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.

No comments:

Post a Comment