Delphi Fastreport 5摘要报告在页面底部

Delphi Fastreport 5摘要报告在页面底部,delphi,fastreport,Delphi,Fastreport,对于工作,我需要将旧的fastreport stuf合并到fastreport 5。在旧版本的Fastreport中,reportsummary可以选择将其放在页面底部。它不在fastreport 5中。我在谷歌上搜索了很多,我不是唯一一个有这个问题的人。我试着使用我在网上找到的delphi代码,但那对我不起作用。有人能帮我吗?我使用的是delphi版本5.0.0 提前感谢在报告摘要栏的打印前活动中编写以下脚本: procedure ReportSummary1OnBeforePrint(Sen

对于工作,我需要将旧的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; 

这适用于fast report 4.0。

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

procedure ReportSummary1OnBeforePrint(Sender: TfrxComponent);
begin
  Engine.CurY := Engine.CurY + Engine.FreeSpace - ReportSummary1.Height-1;      
end; 
这在fast report 4.0中起作用