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

TControl.MouseEnter

Signals the OnMouseEnter event handler (when assigned).

Declaration

Source position: controls.pp line 1500

protected procedure TControl.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

TControl.OnMouseEnter

  

Event handler signalled when the mouse pointer has entered the control.

TControl.CMMouseEnter

  

Handles a CM_MOUSEENTER message for the control.

TControl.MouseCapture

  

True when mouse messages are currently captured by this control.

TControl.MouseInClient

  

True when the mouse is in the client area for the control.

TControl.MouseLeave

  

Signals the OnMouseLeave event handler (when assigned).


Version 3.2 Generated 2024-02-25 Home