Vcl.DBCtrls.TDBCheckBox.DataField

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DataField: string read GetDataField write SetDataField;

C++

__property System::UnicodeString DataField = {read=GetDataField, write=SetDataField};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBCheckBox

Description

Identifies the field from which the data-aware control displays data.

Set DataField to the field name of the field component that the check box represents. Access by the TDBCheckBox to the dataset in which the field is located is provided by a TDataSource component, specified in the DataSource property.



DBCheckBox1.DataField := 'HasPaid';



DBCheckBox1->DataField = "HasPaid";



See Also