Format not woking

ScaleRichView support and discussion (TRichView add-on for WYSIWYG editing)
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

Post 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.
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

Post by gotoxy »

forgot to tell u that i had to add my Chart.pas file to the uses of the RVItem.pas.
Sergey Tkachenko
Site Admin
Posts: 17522
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

May be you have another TRVChartItemInfo in your project?
For example, the one from Demos\Addins\ChartItem\ChartItem.pas?
gotoxy
Posts: 29
Joined: Tue Jun 16, 2009 6:44 pm

Post 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.
proxy3d
ScaleRichView Developer
Posts: 307
Joined: Mon Aug 07, 2006 9:37 am

Post by proxy3d »

Bug fixed in the SRV 3.2
Post Reply