Sign in Join
FPDoc Onlineexperiment

TCustomButton.ExecuteCancelAction procedure

Member of TCustomButtonpublicIn unit StdCtrls

Performs the Click method if the control is the Cancel button.

Declaration

pascal
procedure ExecuteCancelAction; override

Description

ExecuteCancelAction is an overridden method used to perform the Click method when the control is the Cancel button on its parent form. No actions are performed in the method when Cancel is set to False.

See Click for more information about the actions performed in the method.

ExecuteCancelAction is called when an Escape (VK_ESCAPE) key is handled in the Application singleton for the CancelControl in a Form.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.