Sign in Join
FPDoc Onlineexperiment

TTaskDialogButtonItem.ModalResult property

Member of TTaskDialogButtonItempublishedIn unit Dialogs

Modal result value returned when the button is clicked.

Declaration

pascal
property ModalResult:;

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.

This description is the one of Dialogs.TTaskDialogBaseButtonItem.ModalResult.

See also

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