[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs the Click method if the control is the Cancel button.
Source position: stdctrls.pp line 1249
public procedure TCustomButton.ExecuteCancelAction; override; |
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.
|
Handles a button click event for the control. |
|
|
True if the button is the modal Cancel button. |
|
|
Called when the Escape key is pressed or the Cancel button is clicked. |
|
|
Interprets Esc as Cancel action, if applicable. |
Version 4.0 | Generated 2025-05-03 | Home |