OWLNext 7.0
Borland's Object Windows Library for the modern age
|
One attribute of a scroll bar is its range, which is the set of all possible thumb positions.
The thumb is the scroll bar's sliding box that the user drags or scrolls. Each position is associated with an integer. The parent window uses this integer, the position, to set and query the scroll bar. By default, a scroll bar object's range is 1 to 100.
The thumb's minimum position (at the top of a vertical scroll bar and the left of a horizontal scroll bar) corresponds to position 1, and the thumb's maximum position corresponds to position 100. Use SetRange to set the range differently.