TMtxProgressDialog.Counter Property

property Counter: Integer;

Counts number of loops.

Returns: Integer

Remarks:

Counts number of loops, if <See cref="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 <See cref="Min"/> and <See cref="Max"/> properties. If InternalLoop is True, the Counter will go from Min to Max <c>(for Counter := Min to Max do)</c>. 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 <See cref="UpdateInterval"/> property in miliseconds.