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

  • 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 168
Add Components to the GUI
Specify the toggle button label b y setting its String property to the desired
label, in this case,
Left/Right Ti le.
To display the & character in a label, use two & characters in the string.
The words
remove, default,andfactory (case sensitive) are reserved.
To use one of these as a label, prepend a backslash (
\) to the string. For
example,
\remove yields remove.
Thetogglebuttonaccommodatesonlyasinglelineoftext. Ifyouspecify
more than one line, only the first line is shown. If you create a toggle button
that is too narrow to accomm odate the specified
String, MATLAB software
truncates the string with an ellipsis.
Create the toggle button with the button selected (depressed) by setting
its
Value property to the value of its Max property (default is 1). Set
Value to Min (default is 0)toleavethetogglebuttonunselected(raised).
Correspondingly, w he n the user selects the toggle button, MAT LAB
6-55
Zobrazit stránku 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 758 759

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

Žádné komentáře