OnChange Event

Applies to TestComplete 15.64, last modified on May 16, 2024

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


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


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.


The event has the following parameter:


Contains a reference to the user form component that has raised the event. That is, the component whose text or selection state was changed.

See Also

Handling Events in User Forms
OnEditValueChanged Event

Highlight search results