Hi,
I am currently developing a dialog base class for our web framework.
One feature I'd like to add is the possibility to set a default focus
requester, that gets the focus after the popup is shown.

First I thought it would be sufficient to set the focus on the given
Focusable in an overridden show() method after the super method was
processed.
This works like a charm for textboxes, but fails for list boxes in
every browser.
A deferred ScheduledCommand works for Chrome, but in Firefox3 the
focus is set but the frame indicating the focus is rendered around
some other widget (I didn't really get behind the logic which widget
is chosen).
Waiting for 250ms after the popup is shown works for FF3, but that is
a solution I don't quite like.

Does anyone know about this issue and a way to solve it? Or is there a
better general approach?

Thanks

Robert

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