OverviewExamples
Progress.SetCurrentPos ( |
-- Get the current position
nCurrentPos = Progress.GetCurrentPos("Status");
-- Increment the current position
Progress.SetCurrentPos("Status", nCurrentPos + 1);
-- Check to see if any errors occurred calling the Progress.SetCurrentPosition 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
Gets the current position of the "Status" progress meter and increments it by one.
See also: Related Actions