Retrieving the first and second line of Chat Subtitle

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 24
Joined: Tue Apr 28, 2015 12:00 am

Retrieving the first and second line of Chat Subtitle

Post by nbp » Thu Nov 05, 2015 3:35 am

Could you please post the code to retrieve the first and second lines (items) of the Chart SubTitle in C++. I'm using TChart 2015 Pro ActiveX. I need to retrieve the first and second lines in two separate char* objects.
Thanks.

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

Re: Retrieving the first and second line of Chat Subtitle

Post by Yeray » Thu Nov 05, 2015 9:57 am

Hello,

In Visual Basic it would be this to get the first line:

Code: Select all

TChart1.SubHeader.Text.Item(0)
And this to get the second line:

Code: Select all

TChart1.SubHeader.Text.Item(1)
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