Page 2 of 2

Posted: Tue May 04, 2010 12:25 pm
by gotoxy
Did some other test.

Code: Select all

      Result := TRVChartItemInfo.Create(RVData);
      Result.StyleNo := StyleNo;
And my class is created.

The other funny thing is in the same project and same form i can add a TRVChartItemInfo from a button, but i cant load it from an other button on the same form. That is really wierd.

Posted: Tue May 04, 2010 12:26 pm
by gotoxy
forgot to tell u that i had to add my Chart.pas file to the uses of the RVItem.pas.

Posted: Tue May 04, 2010 3:56 pm
by Sergey Tkachenko
May be you have another TRVChartItemInfo in your project?
For example, the one from Demos\Addins\ChartItem\ChartItem.pas?

Posted: Wed May 05, 2010 3:00 pm
by gotoxy
oh, well done... i can't believe i got noobified like that. i did CTRL+Click on my Register...(rvChart,TRVChartItemInfo) and in fact, i was registering an old .pas for my RVChart.


Thanks again.

Posted: Sat May 15, 2010 5:23 am
by proxy3d
Bug fixed in the SRV 3.2