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

  • 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 160
Add Components to the GUI
• Specify the text to be displayed when the edit text component is created
by setting the
String property to the d esired string, in this case, Enter
your name here
.
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.
• To enable multiple-line i nput, 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 defa ult is 0. MATLABsoftwarewrapsthestringandadds
a scroll bar if nece ssary. On all platforms, whe n the user enters a multiline
text box via the Tab key, the editing cursor is placed at its previous location
and no text h ighlights.
6-47
Zobrazit stránku 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 758 759

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

Žádné komentáře