Class TDBBitBtnK (unit DbButtons)

Inherits from

TBitBtn

=============================================================================

Constructors


constructor Create(Owner: TComponent);



Functions

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

Properties

property DataSource : TDataSource


property DBOperator : TDBOperators


Events

Variables

fDataLink : TFieldDataLink;


fDBOperator : TDBOperators;



Constructors


constructor Create(Owner: TComponent);


Functions


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


Properties


property DataSource : TDataSource


property DBOperator : TDBOperators


Events


Variables


fDataLink : TFieldDataLink;


fDBOperator : TDBOperators;