Fastreport 2025.1 VCL: Gap between last line and PageFooter

Is there a possibility to define a gap height between last line of a list and PageFooter

Comments

  • Hello!

    No, there is no such possibility directly, but you can make the height of the PageFooter larger by the amount you need, and the FastReport will do everything on its own. You can also add an additional band with a specified height to the report. Could you clarify your question?

  • edited April 3

    If I increase the height of the pagefooter, the frame at the top of the pagefooter is further on near by the last line

    If I add a band with specified height, it could happen, that this band need an empty page at the end. The list still has space on the page, but the additional band no longer does.

    Such a gap over a band would be helpful also for other bands. Especially if you need a frame at the top of the band.

    Here a TopFrame at the header band "Peak & Valleys" with out additional band. Frame is direct at the last data.

    and here with additional GroupFooterband to get a gap before frame and last data

    But with the problem, that it could happen, that this is printed at the top of an empty page e.g. if the "Peaks & Valley" data not needed.

  • You can control the printing of the report bands in the script, if you don't need to print any band, just assign it to the OnBeforePrint event Visible:=False

  • Yes, I know, but the problem is, that I don't know, when the "additional band" is the only content of the last page.

    OK, I can implement automatism that set the "Additional band" to Unvisible if there is no following band and with that no need of distance. But this is not so easy as in above example. In reality there are a lot of bands and each can be needed or not.

    Not sure, that it was really a good idea to change from QuickReport to FastReport. Some things are better some not. I thought FR was much more mature than QR

Leave a Comment