TDBLookupComboBox.KeyField property
KeyField the name of the field containing the key data.Declaration
property KeyField: string read GetKeyField write SetKeyField;Description
KeyField is a
String property which contains the name
of the field in the lookup dataset which corresponds to the
DataField in the linked dataset. Read and write access to the
property value are redirected to the
KeyField property in the
internal
TDBLookup instance used in the class. Setting a new value
for the property causes the internal field data link to be refreshed, and
potentially changes the value and the item index in the control.
Use ListSource to specify the component which provides access to
the lookup dataset.
Use ListField to specify the field with values displayed in the
drop-down for the combo-box control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
