Sign in Join
FPDoc Onlineexperiment

TControl.MouseEnter procedure

Member of TControlprotectedIn unit Controls

Signals the OnMouseEnter event handler (when assigned).

Declaration

pascal
procedure MouseEnter; virtual

Description

MouseEnter is a method used to perform actions when the mouse pointer enters the client rectangle for the control. In TControl, it signals the OnMouseEnter event handler using the class instance as the Sender argument.

Descendent classes may override the method to perform actions needed for their implementations.

MouseEnter is called from the CMMouseEnter method when a CM_MOUSEENTER message is handled for the control.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.