You are here: Symbol Reference > MtxDialogs Namespace > Classes > TMtxProgressDialog Class > public > TMtxProgressDialog.Counter Field
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxProgressDialog.Counter Field

Counts number of loops.

Pascal
Counter: Integer;

Counts number of loops, if InternalLoop is set to true. If InternalLoop is false, then the user has to increment the Counter to indicate progress of the processing. In this case this counter can reflect the value of the main iterator of the loop or any other value which increses within the loop. The definition of the loop and position of the progress indicator is determined with Min and Max properties. 

If InternalLoop is True, the Counter will go from Min to Max (for Counter := Min to Max do). If InternalLoop is false, the thread will not change its value. The progress Dialog will pool the Counter value with a timer. The interval of the timer is defined by the UpdateInterval property in miliseconds.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!