Yes, I am using the place command. I'm building this with Visual Tcl and the
place command is what it is using, so I guess what you say doesn't apply...?
So I'm back where I started  - I've got a nice gui all built but tabbing to the
entry boxes is really messed up.  Surely there is an easy way to change this. 
Sure hope someone can help me.

...Mark


On Sat, 02 Dec 2000, Rick Macdonald wrote:
> On Fri, 1 Dec 2000, Alexander Caldwell wrote:
> 
> > 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 
> 
> Within vTcl, it's the same issue. You can change stacking order with the
> up and down (and left and right?) arrows without changing the layout of
> the widgets. This sounds strange, but it occurs when you mix packing left
> and right and/or top and bottom within one frame. Also, I think packing
> several widgets all left will give a different order compared to the same
> widgets all packed right, assuming that they are visually in the same
> layout order. 
> 
> If that is still confusing, consider 3 buttons packed left with the text
> "1", "2" and "3" on them. The tab order is likely the packing order of 1,
> 2, 3. If you pack them to the right, you have to pack 3 first, then 2,
> then one so they still look like 1-2-3 (you do this with the arrow keys.
> But, now the tab order should be reversed.
> 
> Try clicking on widgets and playing with the arrow buttons and packing
> sides and you'll see these things happen.
> 
> Ah, if you are using the "place" geometry manager in vTcl, probably none
> of the vTcl instructions above apply...
> 
> ...RickM...
> 
> _______________________________________________
> vtcl-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/vtcl-user
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to