On Tuesday, April 24, 2012 4:15:35 AM UTC+2, Blake wrote: > > Greetings, > > Is there a way to set which widget (usually a certain textbox) that should > be the default widget with focus when a new form appears? Basically when > the new form appears, if the user just starts typing, the input should > appear in the widget that was specified as the one with the default focus. >
When you're showing the form: Scheduler.get().scheduleDeferred(new ScheduledCommand() { @Override public void execute() { theTextBox.focus(); } }); -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/R7RfvP3PGBQJ. To post to this group, send email to google-web-toolkit@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.