DlgProgressBar.SetRange

DlgProgressBar.SetRange ( 

number ControlID,

number Begin,

number End )

Example 1

DlgProgressBar.SetRange(CTRL_PROGRESS_BAR_02, 0, 1000);

Sets the range of the '02' progress bar from 0 to 1000.

Example 2

nNumberFiles = 307;

DlgProgressBar.SetRange(CTRL_PROGRESS_BAR_01, 0, nNumberFiles);

Sets the range of the '01' progress bar control from 0 to the number of files that you specify.

See also:  Related Actions