Page Orientation - Apply to All

I have a composite report of two single-page, text-only files - titles.fr3 & warnings.fr3. I load them as follows:
  if Assigned(frxReport.PreviewPages) then
      frxReport.PreviewPages.Clear; // Clearing all previous preview pages.

  frxReport.LoadFromFile('titles.fr3');
  frxReport.PrepareReport(False);

  frxReport.LoadFromFile('warnings.fr3');
  frxReport.PrepareReport(False);

  frxReport.ShowPreparedReport;


When I use the Page Settings dialog in the Preview form to change the Orientation to Landscape, and select 'Apply to the current page', I have no problems. If I select 'Apply to all pages' I get problems - the first page (titles) disappears altogether! From the code in frxPreview.pas I see that the re-building logic is different if applying to current or all pages - for 'all' it appears to only rebuild the last report loaded. Does anyone have a fix for this?


FYI: I haven't combined these reports as they will not always be displayed together.

Thanks in advance for any help,

Fiachra

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.