Vcl.DBCtrls.TDBRadioGroup.DataSource
Delphi
property DataSource: TDataSource read GetDataSource write SetDataSource;
C++
__property Data::Db::TDataSource* DataSource = {read=GetDataSource, write=SetDataSource};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBRadioGroup |
Description
Determines where the database radio group obtains the data to display.
DataSource holds a TDataSource object that points to a dataset component. The dataset component should be linked to the database you want to access.
DBRadioGroup1.DataSource := DataSource1;
DBRadioGroup1->DataSource = DataSource1;