OnChange Event

Applies to TestComplete 12.60, last modified on September 17, 2018

Occurs when text displayed by the component or the component’s state is changed.

Declaration

OnChange(Sender) Parameters
Sender [in] Required Variant

Applies To

The event applies to the following components:

TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxMemo, TcxMRUEdit, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit

Description

The OnChange event occurs when the text or value displayed by the component is changed. For the TcxCheckBox component, this event is generated when the check state of a check box is changed. For the TcxRadioGroup component, this event occurs when the radio group’s selected item is changed.

You can create an event handler for this event to perform specific actions upon changing the component’s display text or selection state.

Parameters

The event has the following parameter:

Sender

A user form component whose text or selection state was changed.

See Also

Handling Events in User Forms
OnEditValueChanged Event

Highlight search results