Sign in Join
FPDoc Onlineexperiment

TTaskDialogBaseButtonItem.ModalResult property

Member of TTaskDialogBaseButtonItempublicIn unit Dialogs

Modal result value returned when the button is clicked.

Declaration

pascal
property ModalResult: TModalResult read FModalResult write FModalResult;

Description

The default value for the property is assigned when the button item is created and is based in its ID value + 100. The value can be changed to any reasonable value that is unique for the context.

ModalResult is used when a Task dialog is executed and a button is clicked on the dialog. Its value for the clicked button is assigned to the ModalResult property in the TCustomTaskDialog instance.

See also

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