PageHeader and PageFooter in Runtime

jonaspauletajonaspauleta Portugal
edited 3:43AM in FastReport 4.0
Hey
I'm doing a report in runtime, it is almost done!
But I can't see PageFooter, and PageHeader is displayed behind the other things...
I have already tried to change Top and Height from PageHeader and PageFooter, but nothing have changed.
I have comment everything other than PageHeader and PageFooter but there is still no PageFooter, and PageHeader have a dot, as we can see in the printscreen.
Can someone help?
That's everything attached.
Thanks.

Comments

  • gpigpi
    edited 3:43AM
    Modify your code
    report_runtime.SaveToFile('C:\test.fr3');
    report_runtime.PrepareReport();
       report_runtime.DesignReport();
       report_runtime.ShowPreparedReport;
    
    and attach test.fr3 here
  • jonaspauletajonaspauleta Portugal
    edited 3:43AM
    gpi wrote: »
    Modify your code
    report_runtime.SaveToFile('C:\test.fr3');
    report_runtime.PrepareReport();
       report_runtime.DesignReport();
       report_runtime.ShowPreparedReport;
    
    and attach test.fr3 here

    Hey,
    Thanks for helping!
    Here is the report!
  • jonaspauletajonaspauleta Portugal
    edited 3:43AM
    I can see that it is not creating the PageHeader and the PageFooter
  • gpigpi
    edited 3:43AM
    Try
    PageHeader.Top := tempT;
    
  • jonaspauletajonaspauleta Portugal
    edited 3:43AM
    gpi wrote: »
    Try
    PageHeader.Top := tempT;
    

    I have already did it, but it doesn't create the PageHeader, that is my problem I think :/
  • gpigpi
    edited 3:43AM
    tempT := 15;
    
       PageHeader := TfrxPageHeader.Create(Page);
    

Leave a Comment