MaxPosition – PB Docs 126

MaxPosition property for PowerScript controls

Controls

HProgressBar, VProgressBar, HScrollBar, VScrollBar, HTrackBar, VTrackBar
controls

Description

The MaxPosition property specifies the value of the Position
property when the progress indicator, scroll box, or slider is at
the bottom of the vertical control or the right edge of the horizontal
control. For a progress bar, this value can be different from the
end of the control’s range, set with the SetRange function.

Usage

In a painter

proc.png To specify the maximum position of the progress
indicator, scroll box, or slider:

  1. Enter an integer value into the Max Position
    field of the General tab of the control’s Properties view.

In scripts

The MaxPosition property takes an integer value.

The following example specifies that the value of the Position
property is 120 when a scroll box is in the maximum position:


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x