TAB traversal with wxTE_MULTILINE and wxTextCtrl

I've noticed that whenever I set wxTE_MULTILINE for one of my wxTextCtrl controls on a form, tab traversal stops at that control. However, when I turn off wxTE_MULTILINE, tab traversal is fine.

I did some research on Google and it sounds like this is a known issue, but I couldn't find a fix or work-around for it.

Does anyone have a work-around for this they could show me?

Thanks for the help!
Chris

python 2.3.2; wxPython 2.4; Boa 2.8

Chris wrote:

I've noticed that whenever I set wxTE_MULTILINE for one of my wxTextCtrl controls on a form, tab traversal stops at that control. However, when I turn off wxTE_MULTILINE, tab traversal is fine.

I did some research on Google and it sounds like this is a known issue, but I couldn't find a fix or work-around for it.

Does anyone have a work-around for this they could show me?

python 2.3.2; wxPython 2.4; Boa 2.8

Which platform? Do you use one of the wxTE_RICH styles? What is the parent window? Does tab-traversal work in the wxTextCtrl sample in the demo for you? (It does here on XP.)

···

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

Which platform?

Windows XP Pro

> Do you use one of the wxTE_RICH styles?
I'm only using wxTE_MULTILINE

> What is the parent window?
wxFrame

> Does tab-traversal work in the wxTextCtrl sample in the demo for you? (It does here on XP.)
Hmmm... It does. Perhaps I need to look more closely at my code.

Thanks for you help.
Chris

Robin Dunn wrote:

···

Chris wrote:

I've noticed that whenever I set wxTE_MULTILINE for one of my wxTextCtrl controls on a form, tab traversal stops at that control. However, when I turn off wxTE_MULTILINE, tab traversal is fine.

I did some research on Google and it sounds like this is a known issue, but I couldn't find a fix or work-around for it.

Does anyone have a work-around for this they could show me?

python 2.3.2; wxPython 2.4; Boa 2.8

Which platform? Do you use one of the wxTE_RICH styles? What is the parent window? Does tab-traversal work in the wxTextCtrl sample in the demo for you? (It does here on XP.)

Chris wrote:

> Which platform?
Windows XP Pro

> Do you use one of the wxTE_RICH styles?
I'm only using wxTE_MULTILINE

> What is the parent window?
wxFrame

Put the controls on a wxPanel, and put the wxPanel in the frame.

···

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