Applies to TestComplete 14.40, last modified on June 16, 2020
Occurs when a component receives or loses the input focus.
The event applies to the following components:
TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit
OnFocusChanged event occurs when a component receives or loses the input focus. You can create an event handler for this event to perform specific actions when the component receives or loses focus.
The event has the following parameter:
Contains a reference to the user form component that has raised the event.
When the component receives focus, events occur in the following order:
When the component loses focus, events occur in the following order:
Handling Events in User Forms