Cannot access the TChart title
Posted: Sun Oct 24, 2010 12:53 pm
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
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