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

TTaskDialogBaseButtonItem.Default

Indicates if the button is the default button on a Task dialog.

Declaration

Source position: dialogs.pp line 633

published property TTaskDialogBaseButtonItem.Default : Boolean
  read GetDefault
  write SetDefault
  default False;

Description

Default is a Boolean property which indicates if the button is the default button for a Task dialog. The default value for the property is False.

Changing the value in the property causes the DefaultButton property in the Collection to be updated. When set to True, the button instance is assigned to the DefaultButton property in the collection. When set to False, the DefaultButton in the collection is set to Nil.

See also

TTaskDialogBaseButtonItem.TaskButtonCollection

  

Gets the collection where the button definition is stored.

TTaskDialogButtons.DefaultButton

  

Contains the collection item that is the default button for a Task dialog.

TCollectionItem.Collection


Version 4.0 Generated 2025-05-03 Home