User`s guide

Add Components to the GUI
“Static Text” on page 6-48
“Pop-Up Menu” on page 6-50
ListBox”onpage6-52
“Toggle Button” on page 6-54
Note See “Available Components” on page 6-20 for descriptions of these
components. See “Add Code for C omponents in C allbacks” on page 8-30 for
basic e xamples of programming these components.
Commonly Used Properties
The most commonly used properties needed to describe a user interface
control are shown in the following table. Instructions for a particular control
may also list properties that are specific to that control.
Property
Value
Description
Enable on, inactive, off.
Default is
on.
Determines whether the
control is available to
the user
Max
Scalar. Default is 1.
Maximum value.
Interpretation depends
onthetypeof
component.
Min
Scalar. Default is 0.
Minimum value.
Interpretation depends
onthetypeof
component.
Position
4-element vector:
[distance from left,
distance from bo ttom,
width, height].
Size of the component
and its location relative
to its parent.
6-39