User`s guide
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