Class TDBRadioButton (unit Darad)

Inherits from

TRadioButton

TDBRadioButton } { Data Aware Radio Button

Constructors


constructor Create(AOwner: TComponent);

TDBRadioButton } { Data Aware Radio Button } { Override the constructor to initialize variables


Functions

destructor Destroy;

Override the destructor to destroy variables

procedure DataChange(Sender: TObject);

Set caption when data changes

function GetDataField: string;

Procedures for setting property values

Get database field


function GetDataSource: TDataSource;

Get datasource

procedure SetDataField(const Value: string);

Set database field

procedure SetDataSource(Value: TDataSource);

Set datasource

Properties

property About : TDBRadBtnAboutBox

AboutBox

property DataField : string

Field in the database table

property DataSource : TDataSource

Datasource attached to the database table

Events

Variables

FDataLink : TFieldDataLink;

Variables for properties

FRadioButtonAbout : TDBRadBtnAboutBox;



Constructors


constructor Create(AOwner: TComponent);

TDBRadioButton } { Data Aware Radio Button } { Override the constructor to initialize variables


Functions


destructor Destroy;

Override the destructor to destroy variables


procedure DataChange(Sender: TObject);

Set caption when data changes


function GetDataField: string;

Procedures for setting property values

Get database field


function GetDataSource: TDataSource;

Get datasource


procedure SetDataField(const Value: string);

Set database field


procedure SetDataSource(Value: TDataSource);

Set datasource


Properties


property About : TDBRadBtnAboutBox

AboutBox


property DataField : string

Field in the database table


property DataSource : TDataSource

Datasource attached to the database table


Events


Variables


FDataLink : TFieldDataLink;

Variables for properties


FRadioButtonAbout : TDBRadBtnAboutBox;