Ed Leafe wrote: > On Sep 27, 2009, at 11:02 AM, Ricardo Aráoz wrote: > > >> If it's any help, I found this in the web : >> --------------------------------------------------------------------------- >> 4) Here's a little idiom for setting tab order once you have the >> controls set up: >> >> order = (control1, control2, control3, ...) >> > > Getting the controls and managing them is the key here. > You might just get those that have a TabOrder (and/or RegId) defined. Wouldn't that simplify the problem? And the tab order does not have to be dynamic, just setting an initial tab order should be enough right now. You might even define TabOrder to be at the form's level, that is, there is no separate tab order for pages or other containers. I'm going for the minimum, easiest to implement functionality here. But whatever you implement on top of that would be appreciated.
> >> for i in xrange(len(order) - 1): >> order[i+1].MoveAfterInTabOrder(order[i]) >> --------------------------------------------------------------------------- >> >> Do we have this wx method (MoveAfterInTabOrder) in dabo's controls? >> If we do, then that would be enough, I could easily put some code in >> the form's afterInitAll method to set the tab order the way I want. >> > > > Dabo controls are subclasses of the wx controls, so yes, that's > available. I don't recommend using the wx layer, though, as the mixed > approaches make for difficult to debug code. > Ok, I'll heed your advice and wait. --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
