Applies to TestComplete 14.40, last modified on April 01, 2020

Occurs when the mouse pointer leaves the component.


OnMouseLeave(Sender) Parameters
Sender [in] Required Variant

Applies To

The property applies to the following components:

TcxButton, TcxButtonEdit, TcxCheckBox, TcxComboBox, TcxGroupBox, TcxLabel, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxSpinEdit, TcxTextEdit, TcxTimeEdit


The OnMouseLeave occurs when the mouse pointer is moved away from the component. You can create an event handler for the OnMouseLeave event to perform specific actions when the mouse pointer leaves the component.


The event has the following parameter:


A user form component left by the mouse pointer.

See Also

Handling Events in User Forms
OnMouseEnter Event

Highlight search results