mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-31 22:16:24 +02:00
LazReport, Patch to print SubReports on PageFooter, from Luigi, issue #25285
git-svn-id: trunk@49215 -
This commit is contained in:
parent
bbb037cc27
commit
73ce2ed74c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user