AutoPlay Media Studio 9

Progress.SetRange

Progress.SetRange

This is the first topic This is the last topic  

Progress.SetRange

This is the first topic This is the last topic  

OverviewExamples

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


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us