Thursday, December 23, 2010

Where do KeyPress Events go?

So, now that I have an EnterButton class, I'd like to use it. :-) I
have a form panel with a FileUpload. I'd like to let the user select
a file, then hit enter to fire the form submit button (which is an
EnterButton, not a SubmitButton).

Unfortunately, FileUpload does not have an addKeyPressHandler
routine. So, who gets any key events I generate while in the text
field part of a FileUpload? What is the call chain for events that
aren't captured by the Widget where the event happens?

Sorry if this is an FAQ, and in the docs. I took a (quick) look, and
couldn't find anything. Please point me to the correct docs if it is
in there.

Thanks!

Greg

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate