FastReport wapper

General TRichView support forum. Please post your questions here
gully
Posts: 16
Joined: Tue Sep 13, 2005 10:08 am
Location: Czech Republic
Contact:

Post by gully »

Any news about FastReport wrapper, Sergey?
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, no news yet.
andrew_s_vaz
Posts: 22
Joined: Thu Sep 30, 2010 8:49 pm
Location: Brazil

Post by andrew_s_vaz »

Sergey, is there a wrapper for FastReport in v14?
Forgive me for this rant, but I'm having lots of problems...
I'm using v13 and it simply is horrible to use with FastReport so far. The only way I can print is if I save whatever it is as a rvf file and then atribute it on the report... and this is very bad.

Have you fought with the people from FastReport...? I really don't understand why it takes so long to have a wrapper for the report generator that comes as a default with Delphi.
spikija
Posts: 1
Joined: Mon Oct 14, 2019 10:29 am

Re: FastReport wapper

Post by spikija »

Hello.
Any news about FastReport wrapper?

Don't know if you know that, but RichEdit from Fastreport does not work from Delphi DLL (Datasnap) because it is not Thread Safe and depends on windows DLL.

As I can see TRichView does not depend on windows dll so FastReport wrapper could be solution for us who can't use richEdit from FastReport.

I also looked for one solution on web, but it's not working. I tested with demo version of TRichView, but if there would be FastReport wrapper then would definitely be interested in buying TRichView.

Thanks for answer.
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: FastReport wapper

Post by Sergey Tkachenko »

Sorry, still no news about FR wrapper
adamrich
Posts: 35
Joined: Sun Feb 19, 2006 1:55 pm

Re: FastReport wapper

Post by adamrich »

Hello,

Here is what I did to use TRichview with fastreport.
1-Open fastreport, create new empty report page (all margins =0) drop tfrxRichview , align to client, save it with any name.
2-Create your rtf file with richview action, you can add your fastreport variables as [x] and save it as rtf

example:
Hello world my name [name]

Now on Delphi app. call the report and load the rtf file.

frxReport1.LoadFromFile('FastReportFilename.rf3');

if fileexists('RichviewRTF.rtf') then
begin
Component := PrintForms.FindObject('Rich1');
if Component is TfrxRichView then
begin
TfrxRichView(Component).RichEdit.Clear;
TfrxRichView(Component).RichEdit.Lines.LoadFromFile('RichviewRTF.rtf');
end;

end;
also you can pass your variables as:
frxReport1.Variables['name'] := QuotedStr('Adam') ;
frxReport1.ShowReport;

In this case you don't need wrapper , and that works perfectly, but , but I couldn't make the table work , I spent hours, no luck :(

Hope this helps
gerry3814
Posts: 1
Joined: Wed Sep 02, 2020 6:47 am

Re: FastReport wapper

Post by gerry3814 »

If there were a Fastreport-Wrapper we would buy TRichview.
(We can't use TfrxRichView because it crashes our application while closing the main window; reporting is done in a COM-Component, called by a C++-MFC-App).
Sergey Tkachenko
Site Admin
Posts: 17555
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: FastReport wapper

Post by Sergey Tkachenko »

FastReport wrapper is not planned for near future, at least not in this year, sorry.
Post Reply