Vcl.Dialogs.TTaskDialogButtonItem.ModalResult

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ModalResult: TModalResult read FModalResult write FModalResult;

C++

__property ModalResult;

Properties

Type Visibility Source Unit Parent
property published
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TTaskDialogButtonItem

Description

Modal result of pushing this button.

Vcl.Dialogs.TTaskDialogButtonItem.ModalResult inherits from Vcl.Dialogs.TTaskDialogBaseButtonItem.ModalResult. All content below this line refers to Vcl.Dialogs.TTaskDialogBaseButtonItem.ModalResult.

Modal result of pushing this button.

ModalResult defines the modal result of pushing this button: mrYes, mrNo, mrOk, mrCancel, mrAbort, mrRetry, mrIgnore, mrAll, mrNoToAll, mrYesToAll, mrClose. The value assigned will then be returned if the button was pressed and the ModalResult of TTaskDialog itself was called.

Code Examples