On Aug 25, 4:16 am, Thomas Broyer <[EMAIL PROTECTED]> wrote:
> On 23 août, 14:17, Derek Battams <[EMAIL PROTECTED]> wrote:
>
> >           tBox2.addFocusListener(new FocusListenerAdapter() {
> >                   @Override
> >                   public void onLostFocus(Widget sender) {
> >                           TextBox tBox = (TextBox)sender;
> >                           if(!tBox.getText().equals("good"))
> >                                   tBox.setFocus(true);
> >                   }
> >           });
>
> Playing with the focus from within focus events is not handle the same
> by all browsers, try using a DeferredCommand for your tBox.setFocus()
> call.

Just to wrap this one up, using the DeferredCommand was the way to go.
--~--~---------~--~----~------------~-------~--~----~
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