Page 1 of 1

Problem with TRVReportHelper and RTF-Files containing tables

Posted: Tue Oct 25, 2005 6:16 pm
by Bulvaye
I used to open RTF files via TRichViewEdit like this

Code: Select all

RichViewEdit.LoadRTF('C:\Test.rtf');
RichViewEdit.Format;
Everything works fine.

Now trying to do the same with the TRVReportHelper like this

Code: Select all

RVReportHelper.RichView.LoadRTF('C:\Test.rtf');
RVReportHelper.RichView.Format;
I get an access violation, if the RTF contains any tables. Without tables no problems occure.

What have I got to do? Or is this a bug?

Thank you for any hints.

Posted: Tue Oct 25, 2005 9:09 pm
by Sergey Tkachenko
Do not call RVReportHelper.RichView.Format. It's useless in RVReportHelper.

Posted: Wed Oct 26, 2005 8:45 am
by Bulvaye
Thank you very much - now it works fine! :D