Tuesday, January 17, 2012

Capturing TAB-key in RichTextArea

Hi!

I would like to use the tab-character within a RichTextArea in GWT.
The usual behavior of pressing the tab-key is to switch the focus to
the next element. I am trying to capture the TAB-Key when typing text
in a RichTextArea (via KeyDownHandler) and insert the tab character at
the current cursor position. Sadly the RichTextArea has no
getCursorPos/setCursorPos like the TextArea has.

Any ideas?

Many thanks!

Marcus

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