ScrollBar

ScrollBarSetStart

Set the screen position of the previous arrow

Syntax

Signature
xBool          ScrollBarSetStart( ScrollBar *scrollBar, int start );

Arguments

scrollBar the scroll bar.

start the topmost row for a vertical bar or the leftmost column for a horizontal bar.

Return value

T on success, or F if the object is NULL.

Description

This recalculates the track length as `end - start - 1`. Call `ScrollBarDisplay()` to recalculate the thumb position and draw the bar at the updated coordinates.

See also