Setup Factory 10

DlgProgressBar.GetPos

DlgProgressBar.GetPos

This is the first topic This is the last topic  

DlgProgressBar.GetPos

This is the first topic This is the last topic  

OverviewExamples

number DlgProgressBar.GetPos (

number ControlID )

Example 1

nPos = DlgProgressBar.GetPos(CTRL_PROGRESS_BAR_01);

Gets the current position of the '01' progress control and stores it in "nPos".

Example 2

position = DlgProgressBar.GetPos(Progress_Control);

err = Application.GetLastError();

 

if (err ~= 0) then

   Dialog.Message("Error #" .. err, _tblErrorMessages[err]);

end

Gets the current position of the progress control referenced in variable "Progress_Control" and stores it in "position."  If an error occurred, a dialog is displayed.

See also: Related Actions


Learn More: Indigo Rose Software - Setup Factory - Buy Now - Contact Us