Sign in Join
FPDoc Onlineexperiment

TCustomShape.OnShapeClick property

Member of TCustomShapepublicIn unit ExtCtrls

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

Declaration

pascal
property OnShapeClick: TNotifyEvent read FOnShapeClick write FOnShapeClick;

Description

OnShapeClick is a TNotifyEvent property with the event handler signalled if a mouse click occurs on the shaped control.

OnShapeClick is signalled (when assigned) from the Click method, and occurs after the OnClick handler has been signalled and an optional Action assigned to the control has been executed. The event handler is not signalled if PtInShape indicates that the mouse click did not occur within the interior of the shape on the control.

An application must implement and assign a routine to the handler to respond to the event notification.

Added in LCL version 4.0.

See also

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