Sign in Join
FPDoc Onlineexperiment

TDBLookupListBox.KeyValue property

Member of TDBLookupListBoxpublicIn unit DBCtrls

Accesses the value for the KeyField in the lookup dataset.

Declaration

pascal
property KeyValue: Variant read GetKeyValue write SetKeyValue;

Description

KeyValue is a Variant property used to access the value for the KeyField in the lookup dataset for the control. It is a Variant type because the KeyField may be represented as any of the valid field types supported in the lookup dataset.

Read and write access to the value is redirected to the internal TDBLookup instance used in the control. Read access uses the value in ItemIndex to call the GetKeyValue method in the lookup component. Write access calls the GetKeyIndex method in the lookup component.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.