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

TControl.MouseLeave

Signals the OnMouseLeave event handler (when assigned).

Declaration

Source position: controls.pp line 1501

protected procedure TControl.MouseLeave; virtual;

Description

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

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

MouseLeave is called from the CMMouseLeave method when a CM_MOUSELEAVE message is handled for the control.

See also

TControl.OnMouseLeave

  

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

TControl.CMMouseLeave

  

Handles a CM_MOUSELEAVE 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.MouseEnter

  

Signals the OnMouseEnter event handler (when assigned).


Version 3.2 Generated 2024-02-25 Home