I'm trying to migrate my project from C++ Builder 6 to C++ Builder 2010. There is a TChart in the project. And when I compile it in BCB 2010, I getting many errors like E2247 '_fastcall TSeriesPointer::ChangeStyle(TSeriesPointerStyle)' is not accessible
. What can it be?
There is string with failed code:
Series8->Pointer->ChangeStyle(InpStr.ToInt());
Series8 -- it's an object of TSeries type. InpStr -- is an UnicodeString object.
I found an answer. In Builder C++ 2010, functions with names beginning Change
is changed to properties without "Change".
i.e:
Series13->Pointer->ChangeStyle(4);
to:
Series13->Pointer->Style = psCross;