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

TCustomButtonPanel.DefaultButton

The default button executed when Enter or Return are pressed.

Declaration

Source position: buttonpanel.pas line 113

public property TCustomButtonPanel.DefaultButton : TPanelButtonEx
  read FDefaultButton
  write SetDefaultButton
  default pbOK;

Description

DefaultButton contains the button which performs the default action when the Return or Enter key is pressed.