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

TDBImage.DataField

Contains the name of the field with the value for the control.

Declaration

Source position: dbctrls.pp line 1220

published property TDBImage.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.

Graphic content read from DataField is stored in the Picture property for display and editing using the control.

See also

TDBImage.Field

  

Definition for the field in the linked dataset where the control value is stored.

TDBImage.DataSource

  

Provides access to the dataset with content for the control.

TFieldDataLink.FieldName

  

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

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TDataLink.DataSource

TDataLink.DataSet

TCustomImage.Picture

  

Contains the image displayed in the control.


Version 4.0 Generated 2025-05-03 Home