PageHeader and PageFooter in Runtime

jonaspauletajonaspauleta Portugal
edited 5:10AM 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 5:10AM
    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 5:10AM
    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 5:10AM
    I can see that it is not creating the PageHeader and the PageFooter
  • gpigpi
    edited 5:10AM
    Try
    PageHeader.Top := tempT;
    
  • jonaspauletajonaspauleta Portugal
    edited 5:10AM
    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 5:10AM
    tempT := 15;
    
       PageHeader := TfrxPageHeader.Create(Page);
    

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.