Sign in Join
FPDoc Onlineexperiment

TCustomShape.Click procedure

Member of TCustomShapeprotectedIn unit ExtCtrls

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

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.