On Mar 2, 2011, at 3:05 PM, Nate Lowrie wrote:
> I have a form on a panel.
I'm assuming you mean 'data entry form' and not a dForm.
> During the course of form entry, the user
> can add additional controls to the form. When the controls are added
> to the form, they are added to the end of the tab order. I would like
> to set their tab order to somewhere in the middle. Is this possible
> and if so, how do I do it?
Add the controls, and then for all controls that should come after them
in the tab order, call control.bringToFront(). That should re-arrange the
z-order of the controls, which is what I believe that wxPython uses for tab
order.
-- 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]