Method XbpScrollBar():setScrollBoxSize() Foundation

Sets or returns the size of scroll box.

:setScrollBoxSize( [<nUnits>] ) --> nOldUnits
<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.

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


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.


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.