[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 1193

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.