TTMSFNCTaskDialog.Execute Method
Shows the dialog asynchronously and invokes the result callback when it closes.
API unit family: TMSFNCTaskDialog
Declaring type: TTMSFNCTaskDialog
Inherited from: TTMSFNCCustomTaskDialog
Overloads
Overload 1
Shows the dialog asynchronously and invokes the result callback when it closes.
procedure Execute(const ResultProc: TProc<TModalResult> = nil); virtual;
Parameters
| Name | Description |
|---|---|
ResultProc |
The callback that receives the modal result. |
Overload 2
Shows the dialog modally.
function Execute: TModalResult; virtual;
Returns
The modal result selected by the user.
Overload 3
Shows the dialog and invokes the result callback when it closes.
function Execute(AProc: TDialogResultProc = nil): TModalResult; virtual;
Parameters
| Name | Description |
|---|---|
AProc |
The callback that receives the dialog result. |
Returns
The modal result selected by the user.