Vcl.Controls.TControl.OnMouseLeave
Delphi
property OnMouseLeave: TNotifyEvent read FOnMouseLeave write FOnMouseLeave;
C++
__property System::Classes::TNotifyEvent OnMouseLeave = {read=FOnMouseLeave, write=FOnMouseLeave};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | TControl |
Description
Occurs when the user moves the mouse outside of a control.
Use the OnMouseLeave event handler to implement any special processing that should occur as a result of moving the mouse outside of a control when the parent top-level form is not active.
OnMouseLeave is an event handler of type System.Classes.TNotifyEvent.