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.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---