"Control RichView has no parent window" with Repor

General TRichView support forum. Please post your questions here
Post Reply
eclipsic
Posts: 3
Joined: Mon Sep 29, 2008 12:25 pm

"Control RichView has no parent window" with Repor

Post by eclipsic »

I've downloaded the trial source code and the wrapper to use with ReportBuilder, and installed the 3 packages and everything seems to go fine except when I attempt to print a report with a TRichView on it, which yields the error in the subject line. Nothing is being dynamically created; it's just a static TRichView sitting on a static ppReport. I've been wrestling with this for a couple of days, and I've pretty much run out of possibilities. Any ideas?
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Can you send me a project reproducing this problem? [email protected]
eclipsic
Posts: 3
Joined: Mon Sep 29, 2008 12:25 pm

Monday morning

Post by eclipsic »

Sorry, that's what I get for asking questions before my second cup of coffee. Here's what I actually should have said:

I've download the trial version and the wrapper, and installed all three packages, but when I try to compile a project with the TRichView, I get a "Method not found in base class" error message for function IgnoreEndNotes in ppRichView.pas and ppRichViewReportDesign, and for function GetSourceRichView in ppRichViewReportdesign.

All three functions are overridden, but apparently don't exist in the base class from which they are derived: TRVReportHelper. I don't have the source code for that class, so that's as far as I can get with the problem.

One of the "solutions" I tried was to comment out the "override" (thinking that it was mistakenly left in), but that results in the error message in my original message.

Hopefully, that's a bit more to go on. I'm still sending a sample project...
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

It looks like you have different versions of TRichView in different directories, and wrong versions are used.
These methods and properties were added in TRichView 10.
eclipsic
Posts: 3
Joined: Mon Sep 29, 2008 12:25 pm

version conflict

Post by eclipsic »

the .zip files I've downloaded from your site are rvpkg2006.zip and rvrb9.zip

from rvpkg2006.zip, I've successfully installed RVDBPkg2006.bdsproj, and RVPkg2006.bdsproj. Using a search for "RichView", I'm sure there are no other versions of the product on my hard drive.

from the rvrb9.zip readme.txt file:

If you have ReportBuilder 10.x [which I do]:
- for Delphi 6, install rvrb10D6.dpk
- for Delphi 7, install rvrb10D7.dpk
- for Delphi 2005, install rvrb10D9.dpk
- for BDS 2006, install rvrb10D2007.dpk [which I have]

however, there is no rvrbD2007.dpk in my .zip file. There is, however, an rvrb2006.dpk, so that's what I've been using. This setup yields the same error message.

Is the some other combination of files I should be using for ReportBuilder 10.03 and BDS 2006?
Post Reply