User`s guide

Add Components to the GUI
clicking the trough m oves the slider thumb. Setting it to 1 or higher causes
thethumbtomoveto
Max or Min w hen the trough is clicked.
As
major_step increases, the thumb grows longer. When major_step is
1, the thumb is half as long as the trough. When
major_step is greater
than 1, the thumb continues to g row, slowly approaching the full length of
the trough. When a slider s erves as a scroll bar, you can uses this behavior
to indicate how much of the document is currently visible by changing the
value of
major_step.
Arrow button
(minor_step)
Trough
(major_step)
If you w ant to set the location or size of the component to an exact value,
then modify its
Position property. See “Locate and Move Components” on
page 6-83 and “Resize Components” on page 6-86 for details.
The slider com ponent provides no text description or data entry capability.
Use a “Static Text” on page 6-48 component to label the slider. Use an
“Edit Text” on page 6-46 component to enable a user to input a value tp
apply to the slider.
Note On Mac
®
platforms, the height of a horizontal slider is constrained.
If the height you set in the position vector exceeds this constraint, the
displayed height of the slider is th e maximum allow ed . The height elem e n t
of the position vector is not changed.
Radio Button
To create a radio button with l abel Indent nested functions,asshown
in this figure:
6-43