Platoo TXReportTTXCustomDBLabel

Contents - Events - Properties

TTXCustomDBLabel is base class for data-aware labels.


Description
Do not create instance of TTXCustomDBLabel.


TTXCustomDBLabel - Events

Contents - TTXCustomDBLabel - Properties

OnDataChange

Delphi declaration
property OnDataChange: TTXDBLabelDataChanged read FOnDataChange write FOnDataChange;
C++ declaration
__property TTXDBLabelDataChanged OnDataChange={ read=FOnDataChange, write=FOnDataChange }

Description
OnDataChange event is triggered whenever the data in the database field changes.


TTXCustomDBLabel - Properties

Contents - TTXCustomDBLabel - Events

DataSource

Delphi declaration
property DataSource: TDataSource read GetDataSource write SetDataSource default Nil;
C++ declaration
__property Db::TDataSource *DataSource={ read=GetDataSource, write=SetDataSource, default=0 }

Description
Use DataSource to bind a label with a database table or query.

FieldName
Name of database field.

Delphi declaration
property FieldName: String read GetFieldName write SetFieldName;
C++ declaration
__property System::AnsiString FieldName={ read=GetFieldName, write=SetFieldName, nodefault }

Description
Use FieldName to bind a label with a field in the database.