Overview | Methods | This Package | All Packages
Sets the maximum value of the scroll bar.
Syntax
public void setMaximum( int value )
Parameters
value
The new maximum value. The default value is 100.
Remarks
The maximum value represents the maximum scrolling position for the scroll bar. The values of the maximum and minimum properties determine the scroll bar's range. The value of the largeChange property is then used to determine the size of the scroll thumb, relative to the scrolling range.
When you call setMaximum at run time, the scroll bar control is automatically redrawn to reflect the new maximum value.
See Also getMaximum, setValue