Mark Swarbrick wrote:
> 
> Can someone tell me how to change the tab order of entry boxes?  When I
> hit the tab key the focus doesn't change to the next box that I want it
> too.   How can I change this?
> 
> [EMAIL PROTECTED]
> 
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user

I believe in general, the order you create your widgets 
determines the default keyboard focus traversal which is what you  are
talking about when you use the <TAB> and <Shift-Tab>
to change the focus. So if you can have your program build the widget 
heirarchy in the order you want the keyboard focus 
traversal to proceed it would be one simple solution. 

If you can't do that, you can change the 
the stacking order of the widgets which is what really controls
the focus traversal. You can  use the raise and lower
Tk commands to change the stacking order after the widgets 
have already been created. This would have the effect of
changing the keyboard traversal (I think). Check out the man page on
raise, lower and tk_focusNext and tk_focusPrev 

Alex Caldwell
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to