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

  • 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 167
6 Lay Out a GUIDE GUI
- To select more than one item when the component is created, set Value
to a vector of indices of the s elected items. Value = [1,3] results in the
following selection.
To enable selection of more than one item, y ou must specify the Max and
Min properties so that their difference is greater than 1. For example,
Max = 2, Min = 0. Max default is 1, Min default is 0.
- If you want no initial selection, set the Max and Min properties to enable
multiple selection, i.e.,
Max-Min>1, and then set the Value property
to an empty matrix
[].
If the list box is not large enough to display all list entries, you can set the
ListBoxTop property to the index of the item you want to appear at the
top when the component is created.
Ifyouwanttosetthepositionorsizeofthecomponenttoanexactvalue,
then modify its
Position property. See “Locate and Move Components” on
page 6-83 and “Resize Components” on page 6-86 for details.
Note The list box does not provide for a label. Use a “Static Text” on page
6-48 component to labe l the lis t box.
Togg
le Button
To create a toggle button with label Left/Right Tile, as shown in this figure:
6-54
Zobrazit stránku 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 758 759

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

Žádné komentáře