Problem setting the position of Fotter Band

rphrph
edited 10:51AM in FastReport 4.0
Hi, im making a report where i have a MasterDataBand and a FotterBand. But the fotter band is positioned after the MasterDataband. I need that the fotter band prints at the bottom of the page.
How can i set the position of any band so that it will be positioned in any location that i need ? Even if i Have a MasteDataBand and a Child Band and i want to print the child band at the bottom of the page.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:51AM
    Here is a sample using the summary band.
    just sub your footer band name to suit.

    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;

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.