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:
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
 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