문제

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;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top