Lazarus
Programming => General => Topic started by: md9projeto on May 17, 2018, 02:43:47 am
-
Hi,
Iḿ trying to move from DElphi to Lazarus,I Allways prefer to create reports using only code(Rave Reports,GmPrintSUite,VPE) ,could not find anything for Lazarus.
Thanks,
Marcello
-
Did you look at "LazReport" ?
Not sure if that is what you want but....
-
Unless I got LazREport wrong,it is a band oriented report engine.
I want a canvas where I can draw freely.
Marcello
-
LazPrint? https://www.freepascal.org/~michael/articles/lazprint/lazprint.pdf (ftp://www.freepascal.org/~michael/articles/lazprint/lazprint.pdf)
-
Unless I got LazREport wrong,it is a band oriented report engine.
I want a canvas where I can draw freely.
Lazreport has the addon lr_codereport where you can draw freely
-
LazPrint? https://www.freepascal.org/~michael/articles/lazprint/lazprint.pdf (ftp://www.freepascal.org/~michael/articles/lazprint/lazprint.pdf)
Yes, I think that the topic creator should start with this article.
However, the link doesn't work for me, but opening Michael's articles' page works: https://www.freepascal.org/~michael/articles/ (https://www.freepascal.org/~michael/articles/). Then, find lazprint article there.
-
wasn't there an fpreport that was code only just added to the RTL?
-
Thanks for all the answers,Iĺl investigate them.
Marcello
-
wasn't there an fpreport that was code only just added to the RTL?
Yes, but it is band-oriented, see the first sentence in the wiki (http://wiki.freepascal.org/FPReport#Architecture):
FPReport is a banded reporting tool.
which the topic starter specifically asked not to be.
-
You can use lazreport without bands. You can put Memo, Line and other objects direct on report.
I am using it for my custom report.
Some of usefull functions:
frReport1.Pages.Add;
frReport1.Pages.Clear;
if y>frReport1.Pages[CurrentPage].BottomMargin then frReport1.Pages.Add;
frReport1.Pages[CurrentPage].LeftMargin;
frReport1.Pages[CurrentPage].RightMargin;
Edit:
Do not any bands. Use it bandless.