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

TCustomButton.Default

True if this is the modal Default button.

Declaration

Source position: stdctrls.pp line 1126

public property TCustomButton.Default: Boolean
  read FDefault
  write SetDefault
  default false;

Description

Pressing ENTER in a modal form is equivalent to pressing the Default button.