Who is the parent of the text controls? You cut this bit off.
JR
···
-----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 traversalOn 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