Skip to main content

TcxCustomLookupComboBox.EditValue Property

Specifies the value being edited by the editor.

Declaration

property EditValue;

Property Value

Type
TcxEditValue

Remarks

A lookup editor allows you to edit a value by picking up a record in the dropdown list which displays data from the ListSource datasource. The edit value matches the value of the selected record’s field identified by the KeyFieldNames property. The display value is obtained from the record’s field whose index is specified by the ListFieldIndex property.

Changing the edit value results in selecting another record from the ListSource datasource whose key field value matches the edit value. You can see the visual effect of this in a change of the display text.

If the KeyFieldNames property specifies several fields delimited by semicolons, the EditValue property will hold an array of variants.

See Also