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

  • 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 502
Add Components to a Programmatic GUI
Property Values Description
String
String. C an be a cell
array or character array or
strings.
Component label. For list
boxes and pop-up menus
it is a list of the items . To
display the & character in a
label, use two
& characters
in the string. The words
remove, default,and
factory (case sensitive)
are reserved. To use one of
these as a label, prepend a
backslash (
\) to the string.
For example,
\remove yields
remove.
Style pushbutton,
togglebutton,
radiobutton, chec kbox ,
edit, text, slider,
listbox, popupmenu.
Default is
pushbutton.
Type of user interface
control object.
TooltipString
String Text of the tooltip associated
with the push tool or toggle
tool.
Units pixels, centimeters,
characters, inches,
normalized, points,
Default is
pixels.
Units of measurement used
to interpret position vector
Value
Scalar or vector Value of the component.
Interpretation depends on
the
Style property.
For a complete list of properties and for more information about the properties
listed in the table, see Uicontrol Properties docum entation.
Check Box
The following statement creates a check box with handle cbh.
11-15
Zobrazit stránku 502
1 2 ... 498 499 500 501 502 503 504 505 506 507 508 ... 758 759

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

Žádné komentáře