Value Property

Object List Next Object

Defined By:
ScrollBar

Description:

Sets or reads the current position of the thumb on the scroll bar. The value is always within the range set by the Max and Min properties.

Settings:

Valid values range from -32,768, and 32,767.

Details:

Changing the position of the thumb on the scroll bar either manually or in the program's code causes the Value property to be incremented or decremented accordingly. The increment and decrement values are set by the SmallChange and LargeChange properties.

The value of the scroll bar is set according to the position of the thumb in proportion to the range set by the Max and Min properties. For example, if the range of a vertical scroll bar is 0-100, then a thumb placed in the middle of the bar would have a value of 50.

Data Type: Integer

See Also:

Max, Min properties