Method XbpScrollBar():setScrollBoxSize() Foundation

Sets or returns the size of scroll box.

Syntax
:setScrollBoxSize( [<nUnits>] ) --> nOldUnits
Parameters
<nUnits>
<nUnits> is an optional numeric value specifying the size of the scroll box. The value must be within the range defined by the :range instance variable.
Return

This method returns a numeric value indicating the size of the scroll box before the method was called.

Description

The method :setScrollBoxSize() allows the size of the scroll box to be changed after the method :create() has been called. The size is stored in the :scrollBoxSize instance variable.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.