Hi,
I have a TextBox, and a PopupPanel. Inside the PopupPanel I have a MenuItem, which on click should set the focus into the TextBox.
Now, if I do not hide the popup everything works fine (except that the popup is still showing).
But if I do PopupPanel.hide(), the focus gets lost from TextBox!
I also tried using Scheduler.get().scheduleDeferred(new ScheduledCommand() {...}) on both: either let the hide() be scheduled, or let the focus be scheduled. Both failed setting the focus on the TextInput. Or better: it sets the focus and immediately loses it due to the hide() action.
What can I do about this?
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment