TDBCrossTabSource LabelField OnGetText TField

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Posts: 1
Joined: Thu Aug 26, 2021 12:00 am

TDBCrossTabSource LabelField OnGetText TField

Post by » Fri Aug 19, 2022 5:50 pm


I'm using a TDBCrossTabSource for a chart. The field that I use as LabelField has the OnGetText event defined, however, this event is not used in the chart since the content of the field is shown and not what the event generates. Is there anything I can do to get what I need?

I'm using V2022.35.

In the help of a v2019 version it says that now TDBChart uses the OnGetText event, but it seems that this is not the case in TDBCrossTabSource.


Site Admin
Site Admin
Posts: 9534
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia

Re: TDBCrossTabSource LabelField OnGetText TField

Post by Yeray » Mon Oct 17, 2022 5:28 pm

Hello Ricardi,

I'd like to apologize for the lack of reply here.

I've dropped a TChart and a TADOTable to a form. I've connected the TADOTable to the Employee table, and I've added a TBarSeries to the TChart, selecting the TADOTable as a TDBCrossTabSource.
However, I'm not sure what object does the OnGetText event refer to.

If you still have problems with it, do you have a simple example project we can run as-is here?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply