Change active control

I've read a bit about how we can't control the tab order with wxPython,
and that's no fun. Is that something we might see in a future version?

In the meantime, what about just changing which control is currently
active? I realize it's almost the same thing, but I'm hoping it might
be different enough.

Stryder

Actually, you can control the tab order, it's just a bit of a PITA. wxoo has a class wxControlContainer which demonstrates manipulating the tabbing order (in that particular case, to allow for tabbing into and out of composite controls). You could likely subclass it fairly easily to allow for declaring an arbitrary sub-control tabbing order... actually, reading the code, there's already a sub-class with a SetFocusChildren method that should let you specify the tabbing order directly.

Anyway, not what you were asking about, but might be useful somehow. Good luck,
Mike

firephreek wrote:

I've read a bit about how we can't control the tab order with wxPython,
and that's no fun. Is that something we might see in a future version?

...

···

________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/
  blog: http://zope.vex.net/~mcfletch/plumbing/

firephreek wrote:

I've read a bit about how we can't control the tab order with wxPython,
and that's no fun. Is that something we might see in a future version?

It's been on the wish-list for a long time and I think that the wx-dev's would like to have it, but from what I've been told it is quite complex to do it right and nobody has attempted it yet.

···

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