TMtxProgressDialog::Counter Property

__property int Counter = {read = GetCounter, write = SetCounter};

Counts number of loops.

Read: int GetCounter();
Write: void SetCounter(const int Value);
Remarks:

Counts number of loops, if TMtxProgressDialog::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 TMtxProgressDialog::Min and TMtxProgressDialog::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 TMtxProgressDialog::UpdateInterval property in miliseconds.

Declared in Dew::Math::Controls::VCL::TMtxProgressDialog · Dew.Math.Controls.VCL/MtxDialogs.h · C++Builder only