[wxPython] Tab traversal

I'm actually having the same problem and posted a question a long time ago
on this. I put controls on a panel and may or may not get tab traversal. I
also need to change the order of tab traversal and don't see a way of doing
this. I couldn't find any documentation in either the demo or wxWindows help
files for tab traversal control.

Seth.

···

-----Original Message-----
From: Rob Cakebread [mailto:robc@pop3free.com]
Sent: Wednesday, February 21, 2001 11:53 AM
To: wxpython-users@lists.sourceforge.net
Subject: Re: [wxPython] Tab traversal

On Tuesday 20 February 2001 10:02 pm, Robin Dunn wrote:

Put the controls on a wxPanel and put the panel in the frame. The tab
traversal code is all in the wxPanel class.

That's what I had in my code, if I'm understanding you correctly. (See
below,
wxPanel on a wxFrame). I read in the archive I also need SetSizer and
SetAutoLayout. Am I doing that right?

def OnPrefs(self, event):
     class optionFrame(wxFrame):
            def __init__(self, parent, ID, title, pos, size):
                    wxFrame.__init__(self,parent, ID, title, pos,
                              wxSize(450,300),style=wxTAB_TRAVERSAL)
## Here's the wxPanel:
                panel = wxPanel(self, -1)
                sizer = wxBoxSizer(wxVERTICAL)
                self.SetSizer(sizer)
                self.SetAutoLayout(true)
                And then all my wxTxtCtrls..

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users

I'm actually having the same problem and posted a question a long time ago
on this. I put controls on a panel and may or may not get tab traversal. I
also need to change the order of tab traversal and don't see a way of

doing

this.

The tab order is the order the child windows were added to the parent.
Currently there is no way to change this without removing and readding the
controls.

···

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

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users