ScrollBar

ScrollBarSetOffset

Set the fixed screen column or row of the scroll bar

Syntax

Signature
xBool          ScrollBarSetOffset( ScrollBar *scrollBar, int offset );

Arguments

scrollBar the scroll bar.

offset the column for a vertical bar or the row for a horizontal bar.

Return value

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

Description

The value locates the entire bar across its direction of travel. Call `ScrollBarDisplay()` to draw it at the updated coordinates.

See also