mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 16:55:55 +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
|
if t is TfrSubReportView then
|
||||||
begin
|
begin
|
||||||
Page := (t as TfrSubReportView).SubPage;
|
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.CurY := Parent.CurY;
|
||||||
Page.CurBottomY := Parent.CurBottomY;
|
Page.CurBottomY := Parent.CurBottomY;
|
||||||
end;
|
end;
|
||||||
@ -6338,6 +6344,7 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
if Typ <> btPageFooter then
|
||||||
Parent.NewPage;
|
Parent.NewPage;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user