PageFooter Question

edited 10:52PM in FastReport 3.0
I have this code

if <Page#> = <TotalPages#> then
PageFooter1.visible := false
else
PageFooter1.visible := true;


but the PageFooter keeps on the last page.

How could i hide the PageFooter on the last page?

Comments

  • edited 10:52PM
    You probably can't. # of pages is populated on the 2nd pass and at this point the header/footers have already been calculated.

    Wayne
  • edited 10:52PM
    Instead of

    if <Page#> = <TotalPages#> then
    PageFooter1.visible := false
    else
    PageFooter1.visible := true;

    make the components not visible

    if <Page#> = <TotalPages#> then
    begin
    MemoXX.visible := false;
    MemoXY.visible := false;
    .. etc.
    end;

    Peter
    Technisoft

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.