HScrollBar, VScrollBar controls
The MaxPosition property specifies what the value of the Position property is when the scroll box is at the bottom of the VScrollBar control or the right edge of the HScrollBar scroll bar.
To specify the maximum position of the scroll
box:
Enter an integer value into the Max Position field of the General tab of the control’s Properties view.
The MaxPosition property takes an integer value.
The following example specifies that the value of the Position property is 120 when the scroll box is in the maximum position.
vsb_1.MaxPosition = 120
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |