Syntax
xBool ScrollBarSetOrient( ScrollBar *scrollBar, int orient );
Arguments
scrollBar the scroll bar.
orient SCROLL_VERTICAL or SCROLL_HORIZONTAL. NIL is invalid.
Return value
T on success, or F if the object is NULL or orient is invalid.
Description
The bar interprets the same coordinates on the new axes and keeps its current style string. Call `ScrollBarSetStyle( scrollBar, NULL )` to load the default characters for the new orientation. Call `ScrollBarDisplay()` to draw the complete bar.