Sign in Join
FPDoc Onlineexperiment

TControl.CMMouseEnter procedure

Member of TControlprotectedIn unit Controls

Handles a CM_MOUSEENTER message for the control.

Declaration

pascal
procedure CMMouseEnter(var Message: TLMessage); message

Arguments

Message

Control message handled in the method.

Description

CMMouseEnter ensures that the MouseInClient property is updated when the mouse pointer enters the client area for the control. No actions are performed in the method if MouseInClient is already set to True on entry.

CMMouseEnter calls Perform to broadcast the CM_MOUSEENTER message to the Parent and ancestor controls (when assigned). If the Message is not a child message, the MouseEnter method is called to signal the OnMouseEnter event handler (when assigned).

See also

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