Contents - Events - Properties
TTXCustomDBLabel is base class for data-aware labels.
Description
Do not create instance of TTXCustomDBLabel.
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.
Contents - TTXCustomDBLabel - Events
DataSource
FieldNameDelphi 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.
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.