OnEditValueChanged Event

Applies to TestComplete 14.71, last modified on April 22, 2021

Occurs when the component’s value (or state) is changed.

Declaration

OnEditValueChanged(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 OnEditValueChanged event occurs when a new value is stored to a component.

For edit components, this event occurs when the component’s value is changed. Note that when a user interacts, the value inputted by the user is only stored to the corresponding component’s property after the user presses Enter, moves focus to another component or produces an action specific for a component (for example, closes the dropdown window).

For TcxCheckBox component, this event occurs when the check state of a check box is changed. For a TcxRadioGroup component, this event occurs when the radio group’s selected item is changed.

You can create an event handler for the OnEditValueChanged event to perform specific actions when the component’s value or state is changed.

Parameters

The event has the following parameter:

Sender

Contains a reference to the user form component that has raised the event.

See Also

Handling Events in User Forms
OnChange Event

Highlight search results