Sign in Join
FPDoc Onlineexperiment

TControl.MouseLeave procedure

Member of TControlprotectedIn unit Controls

Signals the OnMouseLeave event handler (when assigned).

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.