Sim Zacks wrote:
> I need the tabbing to work correctly, so I can't build 3 slots
> of a vertical sizer, I need to use a grid sizer.

I know you are using the DataClasses wizard and the ClassDesigner, and I see 
that Ed 
has given an excellent reply, but I wanted to point out that tab order isn't 
related 
to what kind of sizer hierarchy you put the controls in.

Tab order is directly related to order of instantiation within the parent, and 
the 
parent in this context is never a sizer. The sizer hierarchy is completely 
separate 
from the UI containership hierarchy [1].

Organize your UI into panels that make sense to you, instantiate the controls 
in the 
correct tab order within the panels, and then add the panels to the main sizer.

Apologies if this confuses the issue.

There's another way to change tab order after objects are instantiated that 
requires 
descending into the wx layer (not usually recommended) because Dabo hasn't 
wrapped 
the functionality.


[1] One exception I'm aware of: dBorderSizer


Paul

_______________________________________________
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