"Tab" trough widgets?

Florian Mayer florian-mayer at gmx.at
Sat Feb 24 10:57:40 PST 2007


Werner F. Bruhin wrote:
> Hi Florian,
> 
> Florian Mayer wrote:
>> How do I make [Tab] switch between my widgets and how do I tell it which
>> one comes after which one?
>>   
> Default Tab order is defined by the creation order of the widgets.
> 
> I use Boa and it has a handy option in the designer to change the tab
> order, but one can also do it by hand.
> 
> There are also some methods MoveAfterInTabOrder and MoveBeforeInTabOrder
> to change it after creation.
> 
> Werner
> 
> 
>> Thanks for answering,
>>
>> name
>>   
Tab does nothing for me, that's the strange thing..
I created them like this:
self.given = wx.TextCtrl(self, -1, '',  (400, 270), (150,
-1),style=wx.TE_PROCESS_ENTER)
		self.asked = wx.TextCtrl(self, -1, '',  (250, 270), (150, -1),style=
wx.TE_READONLY)
		self.add1 = wx.TextCtrl(self, -1, '',  (250, 400), (150, -1))
		self.add = wx.TextCtrl(self, -1, '',  (400, 400), (150,
-1),style=wx.TE_PROCESS_ENTER)


-- 
Best regards
Florian Mayer

GPG public key: http://florianmayer.fl.funpic.de/name/name.gpg
Jabber: name at jabber.org
ICQ: 446504088
Aim: segfaulthunter
Yahoo: segfaulthunter
IRC: name @ irc.freenode.net
Secondary email: segfaulthunter at gmail.com




More information about the wxpython-users mailing list