DlgProgressBar.SetPos

DlgProgressBar.SetPos ( 

number ControlID,

number Pos )

Description

Sets the position of the progress meter within the progress bar control on the current screen.

Note: This action will only work if called from a screen's events and if the named control is on the current screen.

Parameters

ControlID

(number) The numeric ID of the progress bar control whose position you want to set.

Pos

(number) The position you want to set the progress meter to. This position should be a value within the range defined in DlgProgressBar.SetRange.

Returns

Nothing. You can use Application.GetLastError to determine whether this action failed, and why.

See also:  Related Actions