Problem with TRVReportHelper and RTF-Files containing tables

General TRichView support forum. Please post your questions here
Post Reply
Bulvaye
Posts: 10
Joined: Wed Oct 12, 2005 2:08 pm

Problem with TRVReportHelper and RTF-Files containing tables

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do not call RVReportHelper.RichView.Format. It's useless in RVReportHelper.
Bulvaye
Posts: 10
Joined: Wed Oct 12, 2005 2:08 pm

Post by Bulvaye »

Thank you very much - now it works fine! :D
Post Reply