TCustomButton.ExecuteDefaultAction procedure
Performs the Click method if the control is an Active or a Default button.
Declaration
procedure ExecuteDefaultAction; overrideDescription
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.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
