Class TDBSpeedBtnK (unit DbButtons) |
Inherits from
TSpeedButton
=============================================================================
constructor Create(Owner: TComponent);
- ==============================================================================
destructor Destroy;
procedure Click;
procedure CmGetDataLink(var Msg: TMessage);
In Delphi 2.
procedure DataChange(Sender: TObject);
The record changed, so update the Enabled to match.
function GetDataSource: TDataSource;
Return a reference to the data source, or nil.
procedure Notification(Component: TComponent; Operation: TOperation);
If the DataSource component is removed from the form, then clear the
DataSource pointer in the data link.
procedure SetDataSource(DataSource: TDataSource);
Change the data source.
procedure SetDBOperator(Value: TDBOperators);
Refresh the link when DBOperator is changed
property DataSource : TDataSource
property DBOperator : TDBOperators
fDataLink : TFieldDataLink;
fDBOperator : TDBOperators;
constructor Create(Owner: TComponent);
==============================================================================
destructor Destroy;
procedure Click;
procedure CmGetDataLink(var Msg: TMessage);
In Delphi 2.0, a data aware control must respond to
the Cm_GetDataLink message by returning its
data link reference.
procedure DataChange(Sender: TObject);
The record changed, so update the Enabled to match.
function GetDataSource: TDataSource;
Return a reference to the data source, or nil.
procedure Notification(Component: TComponent; Operation: TOperation);
If the DataSource component is removed from the form, then clear the
DataSource pointer in the data link.
procedure SetDataSource(DataSource: TDataSource);
Change the data source. In Delphi 2.0, request notification if
the DataSource component is removed from the form.
procedure SetDBOperator(Value: TDBOperators);
Refresh the link when DBOperator is changed
property DataSource : TDataSource
property DBOperator : TDBOperators
fDataLink : TFieldDataLink;
fDBOperator : TDBOperators;