OnMouseLeave Event

Applies to TestComplete 15.65, last modified on July 17, 2024

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:


Contains a reference to the user form component that has raised the event. That is, the component which has been left by the mouse pointer.

See Also

Handling Events in User Forms
OnMouseEnter Event

Highlight search results