ScrollBar.setValue

Syntax

setValue (position, abs, fireEvent);

Parameters

position. Slider position.

abs. It determines type of value determined in the value parameter: False - percent, True - absolute value. By default an absolute value is set in pixels.

fireEvent. It determines whether to fire the ScrollBar.MoveScroll event of method execution. If the parameter is set to True, the event is fired. By default the event is not fired.

Description

The setValue method sets slider position.

Example

The property use is given in description of the ScrollBar.scrollBy method.

See also:

ScrollBar