API:Vcl.Dialogs.TTaskDialogButtonItem.ModalResult
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. {{#multireplace:Vcl.Dialogs.TTaskDialogButtonItem.ModalResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Dialogs.TTaskDialogBaseButtonItem.ModalResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Dialogs.TTaskDialogBaseButtonItem.ModalResult|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.