TDialogButton.Default property
True if the button is the default button.
Declaration
property Default: Boolean read GetDefault write SetDefault;Description
Default is a
Boolean property which indicates if the
button is the default button for the dialog.
Default is True when the button instance is the value assigned to the
DefaultButton property in the TDialogButtonsCollection. Setting a new value in Default causes the
DefaultButton property in TDialogButtons to be updated accordingly.
Use Cancel to control whether the button is used as the Cancel
button in the dialog.
Use ModalResult to get or set the value returned when the button is
clicked.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
