[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Dialogs' (#lcl)

TTaskDialogBaseButtonItem.ModalResult

Modal result value returned when the button is clicked.

Declaration

Source position: dialogs.pp line 629

public property TTaskDialogBaseButtonItem.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

TCustomTaskDialog.Execute

  

Displays the task dialog and captures the modal result value.

TCustomTaskDialog.ModalResult

  

Modal result value returned when the Task dialog was executed.

TCustomTaskDialog.Buttons

  

Collection with the buttons for the Task dialog.

TCustomTaskDialog.CommonButtons

  

Set of common buttons displayed on the Task dialog.


Version 4.0 Generated 2025-05-03 Home