On Jan 8, 6:38 pm, John <nesre...@gmail.com> wrote: > Using UiBinder setup, but I can't figure out how to detect loss of > focus from a TextBox. > > No matter what I do, only Focus Gained is detected. I thought of > examining the FocusEvent, but since the method isn't even called on > Focus Lost, there's no point in doing that. > > I have this: > > @UiHandler( "textBox" ) > void onVideoIdTextBoxLostFocus( FocusEvent event ){ > <do something with text in textbox> > > } > > I don't think it matters what the name of the method is. > > Can somebody point me in the right direction?
What you're actually looking for is the BlurEvent.
-- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.