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

TFieldDataLink.Control

The Control to which this datalink is attached.

Declaration

Source position: dbctrls.pp line 85

public property TFieldDataLink.Control : TComponent
  read FControl
  write FControl;

Description

Controls is a TComponent property which contains the control which provides editing facilities for the value in the linked dataset. The value in control is generally assigned when a data-aware control is created and its data link is configured.

The value in Control is used in the implementation of the FocusControl method to give input focus to the control.

Use the FieldName property to access the name of the field in the linked dataset.

Use the DataSource property to access the component which provides access to the linked DataSet with the Field value.

See also

TFieldDataLink.FieldName

  

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

TFieldDataLink.Field

  

The Field to which the datalink is attached.

TFieldDataLink.FocusControl

  

FocusControl gives the input focus to the data-aware control in the class instance.

TDataLink.DataSource

TDataLink.DataSet


Version 4.0 Generated 2025-05-03 Home