LazReport, Patch to print SubReports on PageFooter, from Luigi, issue #25285

git-svn-id: trunk@49215 -
This commit is contained in:
jesus 2015-05-29 19:29:51 +00:00
parent bbb037cc27
commit 73ce2ed74c

View File

@ -6308,6 +6308,12 @@ begin
if t is TfrSubReportView then
begin
Page := (t as TfrSubReportView).SubPage;
if Typ = btPageFooter then
begin
Parent.CurY := Parent.Bands[btPageFooter].y + t.y;
Parent.CurBottomY := Parent.Bands[btPageFooter].y +
Parent.Bands[btPageFooter].dy;
end;
Page.CurY := Parent.CurY;
Page.CurBottomY := Parent.CurBottomY;
end;
@ -6338,6 +6344,7 @@ begin
Exit;
end
else
if Typ <> btPageFooter then
Parent.NewPage;
end;