MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelská příručka Strana 561

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 759
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 560
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
Zobrazit stránku 560
1 2 ... 556 557 558 559 560 561 562 563 564 565 566 ... 758 759

Komentáře k této Příručce

Žádné komentáře