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.

> 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.


-- Ed Leafe





_______________________________________________
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]

Reply via email to