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

TCustomButton.Cancel

True if this is the modal Cancel button.

Declaration

Source position: stdctrls.pp line 1197

public property TCustomButton.Cancel : Boolean
  read FCancel
  write SetCancel
  default False;

Description

Pressing ESC in a modal form is equivalent to pressing the Cancel button.

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