MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE User's Guide Page 161

  • Download
  • Add to my manuals
  • Print
  • Page
    / 759
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 758 759

Comments to this Manuals

No comments