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

TColorButton.Click

Performs actions needed when the control is clicked.

Declaration

Source position: dialogs.pp line 358

public procedure TColorButton.Click; override;

Description

Click is an overridden method in TColorButton used to perform actions needed when the control is clicked or the Space key is pressed when the control has focus. It calls the inherited method on entry to execute the Action for the control, or signal its OnClick event handler (when assigned). It calls the ShowColorDialog method to configure, display, and execute the ColorDialog for the control. ButtonColor is updated to contain the new color selected when the dialog was executed.

See also

TCustomSpeedButton.Click

  

Signals OnClick and/or executes the ActionLink when the control has been clicked.

TControl.Click

  

Signals OnClick and/or executes the ActionLink when the control has been clicked.


Version 4.0 Generated 2025-05-03 Home