Progress.GetCurrentPos

number Progress.GetCurrentPos ( 

string ObjectName )

Example 1

-- Store the current position in nCurrentPos
nCurrentPos = Progress.GetCurrentPos("Status");

-- Check to see if any errors occurred calling the Progress.GetCurrentPos 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 stores it in variable nCurrentPos.

See also:  Related Actions