Class TDBBitBtn (unit Dabbt)

Inherits from

TBitBtn

TDBBitBtn } { Data Aware BitBtn

Constructors


constructor Create(AOwner: TComponent);

Public declarations

TDBBitBtn } { Data Aware BitBtn } { 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 : TDBBitBtnAboutBox

AboutBox

property DataField : string

Field in the database table

property DataSource : TDataSource

Datasource attached to the database table

Events

Variables

FBitBtnAbout : TDBBitBtnAboutBox;


FDataLink : TFieldDataLink;

Variables for properties


Constructors


constructor Create(AOwner: TComponent);

Public declarations

TDBBitBtn } { Data Aware BitBtn } { 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 : TDBBitBtnAboutBox

AboutBox


property DataField : string

Field in the database table


property DataSource : TDataSource

Datasource attached to the database table


Events


Variables


FBitBtnAbout : TDBBitBtnAboutBox;


FDataLink : TFieldDataLink;

Variables for properties