[wxGlade] Simple TAB_TRAVERSAL question

Marc Lebrun wrote:

Hello :slight_smile:

Please consider the following .WXG file and the .PY file it produces.
It's a simple frame with one vertical sizer which has three slots.
In the three slots I have a multiline wxTextCtrl, a wxPanel, and a wxGrid.
In the wxPanel I have another sizer with only one button in it.
I set the wxTAB_TRAVERSAL for the frame and the panel.
But the TAB behaviour is not working at all.
What I'd like to do is type some text on the wxTextCtrl, then hit Tab to go to the button, hit Space to click hit, and then hit Tab to go to the grid.
I can't seem to find a way to do it... I know I'm missing something but don't know what...

Put a wx.Panel in the frame, and put your controls on the panel.

···

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