Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.OnMouseLeave

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

Declaration

Source position: controls.pp line 1525

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

  

Invokes the OnMouseLeave handler.

TControl.CMMouseLeave

  

Message handler for mouse leaving the control.

TControl.OnMouseEnter

  

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

TNotifyEvent



CT Web help

CodeTyphon Studio