setPos

>>--setPos(--newPos--)--------------------------><

The setPos method sets the new position for a progress bar and redraws the bar to reflect the new position.

Details

Raises syntax errors when incorrect arguments are detected.

Arguments:

The single required argument is the new position for the progress bar.

Return value:

The previous position is returned.