TMtxProgressDialog::Cancel Property

__property bool Cancel = {read = GetCancel, write = SetCancel};

Allows execution stop by user.

Read: bool GetCancel();
Write: void SetCancel(const bool Value);
Remarks:

If TMtxProgressDialog::InternalLoop is set to True the execution of the thread can be canceled by setting the value of the Cancel property to True. When the TMtxProgressDialog::Start routine is called then Cancel is set to false. When the thread has finished executing, because the loop has ended, Cancel is set to True. If InternalLoop is set to False, then the user has to check the value of the Cancel property within his own loop and exit that loop if/when Cancel is set to true.

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