FreeSpace don't work in PageFooter1OnBeforePrint?

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 3:57AM
    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 3:57AM
    thank you!

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.