wxTextCtrl as Memo Field

Using a wxControl as a memo field, I want it to receive the enter key
so that multi-line memo fields can be entered, but I want it to not
get the tab key, so that the user can tab to the next field. It is not
good to require too much switching back and forth between mouse and
keyboard.

What is the standard way, if any, to accoumplish this?

TIA again,

Al

achrist@easystreet.com wrote:

Using a wxControl as a memo field, I want it to receive the enter key
so that multi-line memo fields can be entered, but I want it to not
get the tab key, so that the user can tab to the next field. It is not
good to require too much switching back and forth between mouse and
keyboard.

What is the standard way, if any, to accoumplish this?

Use a wxTextCtrl with wxTE_MULTILINE style. See examples in the demo.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!