Progress.SetRange

Progress.SetRange ( 

string ObjectName,

number Begin,

number End )

Example 1

-- Set the progress range from 0 to 100
Progress.SetRange("Status", 0, 100);

-- Check to see if any errors occurred calling the Progress.SetRange action.
-- If any error occurred, display the error message.
error = Application.GetLastError();
if (error ~= 0) then
   Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
end

Sets the range of the "Status" progress meter from 0 to 100.

See also:  Related Actions