FreeSpace don't work in PageFooter1OnBeforePrint?

edited 12:54AM in FastReport 3.0
Hello Alexander,

This code in an OnBeforePrint event of a PageFooter doesn't work in Fr3,but work in fr2.5,How to solve this.

procedure PageFooter1OnBeforePrint(Sender: TfrxComponent);
begin
with Engine do
begin
while FreeSpace > 2 do
ShowBand(Child1)
end
end;

Comments

  • edited 12:54AM
    When printing page footer, freespace is always 0! Freespace returns an amount of space between current Y position (CurY) and top coordinate of the page footer.
  • edited 12:54AM
    thank you!

Leave a Comment