Sign in Join
FPDoc Onlineexperiment

TTaskDialog.DefaultButton property

Member of TTaskDialogpublishedIn unit Dialogs

Index of the default button, from the set in the CommonButtons property.

Declaration

pascal
property DefaultButton:;

Description

DefaultButton is TTaskDialogCommonButton property which indicates the default button for the Task dialog. It represents the button that is clicked if the user presses the Space or Enter key when the Task dialog is initially displayed.

The property contains one of the values from the CommonButtons property. The default value for the property is tcbOK, and represents the OK button.

It is used to set the default modal result value returned during execution when a DefaultButton has not been specified in the Buttons collection.

This description is the one of Dialogs.TCustomTaskDialog.DefaultButton.

See also

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