SetPos

>>-aProgressBarControl~SetPos(--newpos--)----------------------><


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

Arguments:

The only argument is:

newpos

The new position.

Return value:

The previous position, or -1 if you do not specify newpos.