MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guida Utente Pagina 161

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 759
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 758 759

Commenti su questo manuale

Nessun commento