MinPosition
property for PowerScript controls
Applies to
HProgressBar, VProgressBar, HScrollBar, VScrollBar, HTrackBar,
VTrackBar controls
Description
The MinPosition property specifies the value of the Position
property when the progress indicator, scroll box, or slider is at the top
of the vertical control or the left edge of the horizontal control. For a
progress bar, this value can be different from the start of the control’s
range, set with the SetRange function.
Usage
In a painter
To specify the minimum position of the progress indicator, scroll
box, or slider:
-
Enter an integer value into the Min Position field of the
General tab of the control’s Properties view.
In scripts
The MinPosition property takes an integer value.
The following example specifies that the value of the Position
property will be 0 when a scroll box is in the minimum position:
|
1 |
vsb_1.MinPosition = 0 |