[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs the Click method if the control is an Active or a Default button.
Source position: stdctrls.pp line 1248
public procedure TCustomButton.ExecuteDefaultAction; override; |
ExecuteDefaultAction is an overridden method used to perform the Click method when the button control is Active or the Default button. No actions are performed in the method when both properties are set to False.
See Click for more information about the actions performed in the method.
ExecuteDefaultAction is called when a Return (VK_RETURN) key is handled in the Application singleton for the ActiveDefaultControl in a Form.
|
Handles a button click event for the control. |
|
|
True if the control is the Cancel or Default button. |
|
|
True if the button is the default button in a modal form. |
|
|
Called when the Return key is pressed, signifying the default action. |
|
|
Interprets Enter as the default action, if applicable. |
Version 4.0 | Generated 2025-05-03 | Home |