[wxruby-users] Enter key issue with RichTextCtrl

Chauk-Mean P chauk.mean at gmail.com
Thu Nov 6 06:08:05 EST 2008


Hi,

I'm trying to use RichTextCtrl available with wxRuby 1.9.9 instead of
TextCtrl and the Enter key does not work (as what I expect).
With TextCtrl (with Wx::TE_MULTILINE), the Enter key creates a new line of text.
With RichTextCtrl, the Enter key changes the focus to another widget.

I saw a workaround for wxPython with the style WANTS_CHARS but there
is no such constant in wxRuby.
Thanks in advance.

Chauk-Mean.


More information about the wxruby-users mailing list