Sign in Join
FPDoc Onlineexperiment

TDialogButtons.FDefaultButton variable

Member of TDialogButtonsprotectedIn unit InterfaceBase

The default button for the dialog.

Declaration

pascal
FDefaultButton: TDialogButton

Description

DefaultButton is a TDialogButton property which contains the dialog button which has its Default property set to True.

The property value is assigned when the Default property for a TDialogButton instance in the collection is changed. When Default (in the button) is changed to True, it is stored in DefaultButton. When Default (in the button) is set to False, the value in DefaultButton is set to Nil. It is assumed that a another button will be designated as the default button.

Use CancelButton for the button with its Cancel property set to True.

This description is the one of InterfaceBase.TDialogButtons.DefaultButton.

See also

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