Sign in Join
FPDoc Onlineexperiment

TCustomTaskDialog.ModalResult property

Member of TCustomTaskDialogpublicIn unit Dialogs

Modal result value returned when the Task dialog was executed.

Declaration

pascal
property ModalResult: TModalResult read FModalResult write FModalResult;

Description

ModalResult is a TModalResult property with the modal result value returned when the Task dialog was executed. It contains the corresponding value from the Button used to close the Task dialog, DefaultButton if Enter or Space was pressed when the dialog was displayed, or mrNone if the dialog was cancelled.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.