Specifications

Setting Component Properties — The Property Inspector
3-43
Callback
The Callback property specifies the callback that is executed in the GUI M-file
when a user activates the component.
String
The String property contains text for the component. The following are
examples:
For buttons, check boxes, list boxes, edit text, and static text, the
String text
is displayed on or next to the component.
For an edit text, the
String property contains a list of strings that is
displayed in the text box. When a user edits the text, the
String property is
updated.
Value
The Value property contains a numerical value for the component, which must
lie in the range specified by the
Max and Min properties. The following are
examples:
For radio buttons and check boxes,
Max and Min are set to 1 and 0,
respectively, by default. The
Value property is set to 1 when the radio button
or check box is selected, and
0 when it is cleared.
When a user drags a slider, the
Value is set to a number between Max and
Min corresponding to the location of the slider button.
Setting Properties for Some Specific Components
This section describes how to set properties for some specific components. The
section covers the following topics:
“Setting Radio Button Properties” on page 3-44
“Setting Edit Text Box Properties” on page 3-44
“Setting List Box Properties” on page 3-44
“Setting Slider Properties” on page 3-45
“Setting Pop-Up Menu Properties” on page 3-47
“Enabling or Disabling Controls” on page 3-48
“Setting Panel and Button Group Properties” on page 3-49