Simulating button click in DialogBox with key event?
I know I'm missing something obvious here, but what's the current
correct approach to catching a keyboard event to close a DialogBox or
do something similar (i.e., simulate clicking the "Save" or "OK"
button)?
I found an older example that uses onNativePreviewEvent() that seems
to be unsupported now, and I've got some other mischief running in a
class derived from FocusPanel that overrides onKeyPress(), but but I
can't seem to get anything working with anything derived from
DialogBox...
Thoughts or advice appreciated.
--
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