On Feb 9, 6:32 am, bestey <[email protected]> wrote:
> Just wondering if there is an easy way to know when focus is lost from
> a SuggestBox?
> It doesn't implement HasFocusHandlers and HasBlurHandlers but it does
> have HasFocus!
> Any advice would be appreciated.

Attach your handlers to the underlying TextBoxBase
(suggestBox.getTextBox().addBlurHandler(...)) as you're told to do in
the JavaDoc for the deprecated addFocusListener:
http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/SuggestBox.html#addFocusListener(com.google.gwt.user.client.ui.FocusListener)

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

Reply via email to