Class TDBBitBtn (unit Dabbt) |
Inherits from
TBitBtn
TDBBitBtn } { Data Aware BitBtn
constructor Create(AOwner: TComponent);
- Public declarations
TDBBitBtn } { Data Aware BitBtn } { Override the constructor to initialize variables
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
property About : TDBBitBtnAboutBox
AboutBox
property DataField : string
Field in the database table
property DataSource : TDataSource
Datasource attached to the database table
FBitBtnAbout : TDBBitBtnAboutBox;
FDataLink : TFieldDataLink;
Variables for properties
constructor Create(AOwner: TComponent);
Public declarations
TDBBitBtn } { Data Aware BitBtn } { Override the constructor to initialize variables
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
property About : TDBBitBtnAboutBox
AboutBox
property DataField : string
Field in the database table
property DataSource : TDataSource
Datasource attached to the database table
FBitBtnAbout : TDBBitBtnAboutBox;
FDataLink : TFieldDataLink;
Variables for properties