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

TCustomShape.Click

Performs actions needed when a mouse click event occurs on the shaped control.

Declaration

Source position: extctrls.pp line 289

protected procedure TCustomShape.Click; override;

Description

Click is an overridden method in TShape. It calls the inherited method (in TControl) to signal an assigned OnClick event handler, and/ or execute and assigned Action when the control has been clicked. It extends the method to signal the OnShapeClick event handler (when assigned) if the mouse was positioned within the interior for the Shape on the control.

Click is activated (in the ancestor class) when the left mouse button is released.

See also

TCustomShape.OnShapeClick

  

Event handler signalled for a mouse click within the shaped control.

TControl.Click

  

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

TControl.OnClick

  

Notification handler for mouse clicks.


Version 4.0 Generated 2025-05-03 Home