User`s guide

Set Tab Order in a Programmatic GUI
Change the Tab Or
der
Use the uist ack f
unction to change the tab order of components that have the
same parent. A co
nvenient syntax for
uistack is
uistack(h,stackopt,step)
where h is a vec
tor of handles of the components whose tab order is to be
changed.
stackopt rep
resents the direction of the move. It must be one of the strings:
up, do wn, top
,orbottom, and is interpreted relative to the column vector
returned by
the statement:
ch = get(ph,'Children')
ch =
4.0076
3.0076
2.0076
If the ta
b order is currently Contour > M esh > Surf,thestatement
uistack(bh2,'up',1)
moves b
h2
(Mesh) up one place in the vector of children and changes the tab
order t
o Contour > Surf > Mesh.
ch = get(ph,'Children')
now re
turns
ch =
3.0076
4.0076
2.0076
ste
p
is the number o f levels changed. The default is 1.
11-73