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

TControl.OnMouseLeave

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

Declaration

Source position: controls.pp line 1601

protected property TControl.OnMouseLeave : TNotifyEvent
  read FOnMouseLeave
  write FOnMouseLeave;

Description

OnMouseLeave is a TNotifyEvent property with the event handler signalled when the mouse pointer has left the bounds for the control. OnMouseLeave is signalled from the MouseLeave method (when assigned), and occurs after the Parent control has been notified of the event. The Sender argument contains the control for the notification, and must be cast to a TControl type to access the properties or values specific to the class type.

Use OnMouseEnter to perform actions needed when the mouse pointer has entered the bounds for the control.

See also

TControl.MouseLeave

  

Signals the OnMouseLeave event handler (when assigned).

TControl.CMMouseLeave

  

Handles a CM_MOUSELEAVE message for the control.

TControl.OnMouseEnter

  

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

TNotifyEvent


Version 3.2 Generated 2024-02-25 Home