HTMLObject and Pagebreak

edited February 2022 in FastReport VCL

Hello,

i use Delphi 10.1 and have FastReport VCL and HTMLView Component installed. There i use the HTML-Object to display my HTML-code which can contain one or multiple <div style='break-after:always'></div> - which aren't displayed on the report.

Is there any way to control the page layout from within a HTML-Object by pagebreaks - so that the content of the Object is split on different pages?


Thank you in advance.

Greetings

Comments

  • I don't think so. Why not split your HTML into multiple strings first?

  • Thank you for your reply!

    My report is divided into multiple sections and each has a TFrxHTMLView-Component - which already contains a Field in the "Source Code" (when you double click on the TfrxHtmlView on the report). My problem now is i don't know how to fill the Component programmatically. HtmlView.Text and HtmlView.SourceCode don't seem to exist. Can you by chance tell me what's the correct property to fill a HTMLView programmatically?

    Greetings

  • Interested too...

    Dit you find out what's the correct property to fill a HTMLView programmatically?

Leave a Comment