Skip to main content

TcxEditingControl.OnEditValueChanged Event

Occurs when the edit value of the active cell editor has changed.

Declaration

property OnEditValueChanged: TcxecItemEvent read; write;

Remarks

This event fires after changing the edit value of the active editor in an editing control. The edit value indicates the data obtained from a dataset field and edited by the editor. See the editor’s EditValue property to access the edit value.

The edit value is changed when a user:

  • Selects a value from the dropdown editor;

  • Presses the Enter key within a cell if its text was modified;

  • Changes an image in image editors;

  • Changes the check box editors state;

  • Selects a radio button within a radio group.

The modified edit value is posted back to the corresponding dataset field at the following times:

  • When setting focus to another record;

  • When posting data programmatically using the data controller’s or the dataset’s Post method.

If the ImmediatePost property of the editor’s Properties object is set to True, the edit value will be posted immediately after it has been changed.

The OnEditValueChanged event is equivalent to the editor’s Properties.OnEditValueChanged event, i.e. it is generated every time the Properties.OnEditValueChanged event is fired.

See Also