OnMouseLeave Event

Applies to TestComplete 15.40, last modified on March 25, 2022

Occurs when the mouse pointer leaves the component.

Declaration

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

Description

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.

Parameters

The event has the following parameter:

Sender

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