Page 1 of 1

Cannot access the TChart title

Posted: Sun Oct 24, 2010 12:53 pm
by 16457557
Hi,

I am using C++Builder XE and the latest version of TeeChart pro VCL 2010. Trying to clear the title and write an expression forces the error message "Access violation". The lines that cause the message are:
Chart1->Title->Text->Clear();
Chart1->Title->Text->Append(Edit1->Text);
However, when I try to access the subtitle in the same way it works without any problem.
Chart1->SubTitle->Text->Clear();
Chart1->SubTitle->Text->Append(Edit1->Text);
Any idea what's going on?

Free

Re: Cannot access the TChart title

Posted: Mon Oct 25, 2010 10:33 am
by narcis
Hi Free,

I am afraid it is the same problem described here.

Re: Cannot access the TChart title

Posted: Mon Oct 25, 2010 11:55 am
by 16457557
Hi NarcĂ­s,

Looks like the same problem. I had an updated project with this problem. But, I did create a new example project (C++Builder XE & TChart 2010), which showed the same error.
What can I do? Do I have to wait for an update? And, update of what? C++Builder or TChart or both?

Best regards,

Free

Re: Cannot access the TChart title

Posted: Mon Oct 25, 2010 12:10 pm
by narcis
I'm afraid the only option is waiting for a C++ Builder update and following TeeChart update. Since this seems to be a random issue, with each TeeChart release you can try if properties affectation has changed.