Vcl.Dialogs.TTaskDialogBaseButtonItem.ModalResult

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ModalResult: TModalResult read FModalResult write FModalResult;

C++

__property System::Uitypes::TModalResult ModalResult = {read=FModalResult, write=FModalResult, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TTaskDialogBaseButtonItem

Description

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