FreeSpace doesn't work

edited 2:15AM in FastReport 3.0
;) Hello Alexander,

This code in an obp event of a groupfooter doesn't work in alpha9.

if Engine.FreeSpace < GroupFooter1.Height then Engine.NewPage;
Engine.CurY := Engine.PageHeight - GroupFooter1.Height;

There is plenty of room to display the groupfooter but I get 2 pages instead of 1. Can you have a look? It's very important for me that it works.

Thanks
Pierre Demers

Comments

  • edited 2:15AM
    If you have a page footer, the last line should be:
    Engine.CurY := Engine.PageHeight - GroupFooter1.Height - PageFooter1.Height - 1;

Leave a Comment