[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'DBCtrls' (#lcl)

TCustomDBComboBox.DataField

The name of the Field which provides the values displayed in the control.

Declaration

Source position: dbctrls.pp line 777

public property TCustomDBComboBox.DataField : string
  read GetDataField
  write SetDataField;

Description

DataField is a String property which contains the name for the field in the linked dataset where the value for the control is read and written. Read and write access to the property value are redirected to the FieldName property in the internal TFieldDataLink instance for the control. Changing the value in DataField causes the value in Field to be updated.

Set the value in DataSource to the component which provides access to the dataset for the data-aware control.

See also

TCustomDBComboBox.DataSource

  

Provides access to the dataset with content for the control.

TCustomDBComboBox.Field

  

Contains the field definition from the linked dataset.

TFieldDataLink.FieldName

  

FieldName - the name of the attached field, stored as a string.

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TDataLink.Dataset

TDataLink.DataSource


Version 3.2 Generated 2024-02-25 Home