setPos

>>-aScrollBar~setPos(--position--+-----------+--)--------------><
                                 +-,--redraw-+


The setPos method sets the position of the scroll box for the associated scroll bar.

Arguments:

The arguments are:

position

The position to which the scroll box is to be moved.

redraw

If you specify 1 or Y, the scroll bar is redrawn using the new position. Otherwise, the new position is set, but the scroll bar display is not updated. The default value is 1.

Return value:

0

Setting the position was successful.

1

For all other cases.