Page 1 of 1

Retrieving the first and second line of Chat Subtitle

Posted: Thu Nov 05, 2015 3:35 am
by 16673658
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.

Re: Retrieving the first and second line of Chat Subtitle

Posted: Thu Nov 05, 2015 9:57 am
by yeray
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)