addKeyDownHandler and onBrowserEvent. The problem is that they work as
long as the appropriate widget had the focus, but it stops working
when something else has the focus. I could add the code to every
single widget, but that seems crazy. I also tried forcing one single
widget to always have the focus, but that causes other problems with
things like TextBoxes (which need the focus for typing).
Is there just a simple, high-level way to trigger some code when a key
is pressed in GWT, regardless of which widget has the focus?
--
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 google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment