MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Podręcznik Użytkownika Strona 161

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 759
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 758 759

Komentarze do niniejszej Instrukcji

Brak uwag