ScrollBar.setMinimum

Overview | Methods | This Package | All Packages

ScrollBar.setMinimum

Sets the minimum possible value of the scroll bar.

Syntax

public void setMinimum( int value )

Parameters

value

The new minimum value. The default value is 0.

Remarks

The minimum value represents the minimum 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 setMinimum at run time, the scroll bar control is automatically redrawn to reflect the new minimum value.

See Also    getMinimum, setValue