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

TDBRadioGroup.DataLink

Provides access to properties, methods, and events for the data-aware control.

Declaration

Source position: dbctrls.pp line 588

protected property TDBRadioGroup.DataLink : TFieldDataLink
  read FDataLink;

Description

DataLink is a read-only TFieldDataLink property which provides access to properties, methods, and events needed to implement the data-aware control. It maintains references to the Control and its associated DataSource, DataSet, and Field.

Read and Write access to many of the properties in the control are redirected to this member in the class instance, including: DataField, DataSource, Field, ReadOnly, et. al. It is used in the implementation of methods to synchronize the actions and state for the control and its database-related components.

Methods, such as DataChange and UpdateData, are used as event handlers in the property.

See also

TFieldDataLink

  

Maintains an association between a control, an action, and a field in a linked dataset.

TDBRadioGroup.DataField

  

Name of the Field in the linked dataset where the control Value is stored.

TDBRadioGroup.DataSource

  

Provides access to the linked dataset and the field definition used in the control.

TDBRadioGroup.Field

  

The DataSet Field relevant to the data being selected.

TDBRadioGroup.ReadOnly

  

ReadOnly - if True, data can only be read, not written or modified. (Doesn't really make sense for a RadioGroup!).

TDBRadioGroup.DataChange

  

Updates the control display value when the linked dataset is repositioned.

TDBRadioGroup.UpdateData

  

Updates the linked dataset using the current selection in the control.


Version 4.0 Generated 2025-05-03 Home