Sign in Join
FPDoc Onlineexperiment

TCustomDBListBox.DataField property

Member of TCustomDBListBoxpublicIn unit DBCtrls

Name for the field in the linked dataset used in the control.

Declaration

pascal
property DataField: string read GetDataField write SetDataField;

Description

DataField is a String property which contains the name of the field in the linked dataset for the control. It is the destination where a value selected in the control is stored.

Read and write access for the property value is redirected to the FieldName property in the internal TFieldDataLink instance used in the control. Use Field to access the field definition and metadata for the column in the linked dataset.

Use DataSource to specify the datasource component which provides access to the linked dataset for the control.

See also

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