Method XbpScrollBar():setRange() Foundation

Sets or returns the value range for the scroll bar.

Syntax
:setRange( [<aRange>] ) --> aOldRange
Parameters
<aRange>
<aRange> is an array containing two elements that can be used to set a new value range for the scroll bar. The first element contains the minimum value and the second element contains the maximum value.
Return

This method returns an array containing two elements. These elements indicate the value range of the scroll bar before the method was called.

Description

The :setRange() method allows the value range of the scroll bar to be changed after the method :create() has been called. The value range is stored in an array contained in the :range 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.