DlgProgressBar.SetRange

DlgProgressBar.SetRange ( 

number ControlID,

number Begin,

number End )

Description

Sets the range of a 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 range you want to set.

Begin

(number) The beginning value of the range. This value must be greater than or equal to -32767.

End

(number) The ending value of the range. This value must be less than or equal to 32767.

Returns

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

See also:  Related Actions