Sign in Join
FPDoc Onlineexperiment

TDBCheckBox.Field property

Member of TDBCheckBoxpublicIn unit DBCtrls

Provides access to the field definition for the data-aware control.

Declaration

pascal
property Field: TField read GetField;

Description

Field is a read-only TField property which provides access to the field definition to which the data-aware control is linked. Read access for the property is redirected to the Field property in the internal TFieldDataLink class instance.

Field can be used to access properties, methods, and events for the field definition in the linked dataset. This includes the data type, field kind, size, current value, display labels, key fields, lookup information, constraints, etc. There are also properties which handle conversion of the field value to different data types.

Use DataField to read or write the field name used for the data-aware control. Use DataSource to specify the data source with the dataset containing the specified field name.

See also

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