Multiple PageFooters
Hi All,
Is it possible to have one bottom aligned text (PageFooter) on every page and an extra bottom aligned text on the last page?
Seems to me that I can only use one PageFooter on a Page.
Thanks.
Is it possible to have one bottom aligned text (PageFooter) on every page and an extra bottom aligned text on the last page?
Seems to me that I can only use one PageFooter on a Page.
Thanks.
Comments
it's objects are the last output to the finished page. it is not stretchable.
you can use other footers or child or summary bands before the page footer.
The problem is that other components like footers and a summary band are not bottom aligned.
This is what I want to do:
On every page a bottom line with the pagenumber.
And on the last page two bottom lines. One for the total amount of money and one with a pagenumber.
I tried every combination but the only thing that is bottom aligned is the PageFooter.
I even tried to use the PageFooter with two lines (MemoView) in it.
So both lines are now bottom aligned but because PrintOnFirstPage and PrintOnLastPage are checked for the PageFooter both lines will show up on every page.
This is okay for the pagenumber line but I only want the line with the 'total amount of money' be display on the last page.
Maybe I can 'hide' the 'total amount of money' line while processing the page for the first pages, like a OnPageCount.
But I don't know if such function/event is available.
Peter.
you can do that with any other footer band.
procedure ReportSummary1OnBeforePrint(Sender: TfrxComponent);
begin
if engine.freespace > reportsummary1.height then
begin
Engine.CurY := Engine.PageHeight -reportsummary1.height -pagefooter1.Height - 1;
end;
end;
OR IF STRETCHING DO IT HERE
procedure ReportSummary1OnAfterCalcHeight(Sender: TfrxComponent);
begin
Engine.CurY := Engine.PageHeight -reportsummary1.height -pagefooter1.Height - 1;
end;
read the user manual on using the engine object