Fastreport 5 summaryReport 页面底部

Fastreport 5 summaryReport at bottom of the page

为了工作,我需要将旧的 fastreport stuf 转换为 fastreport 5。在旧版本的 Fastreport 中,有一个 reportsummary 选项可以将其放在页面底部。它不在 fastreport 5 中。我用谷歌搜索了很多,我不是唯一遇到这个问题的人。我尝试使用在互联网上找到的 delphi 代码,但它对我不起作用。谁能帮我?我正在使用 delphi 版本 5.0.0

提前致谢

在报告摘要带的打印事件之前编写以下脚本:

procedure ReportSummary1OnBeforePrint(Sender: TfrxComponent);
begin
  Engine.CurY := Engine.CurY + Engine.FreeSpace - ReportSummary1.Height-1;      
end; 

这适用于快速报告 4.0。