RTF file with page breaks

edited 7:43AM in FastReport 3.0
Hello all...

I have version 3.24.6

I am using this to load an rtf file with one page break:
var
RichView: TfrxRichView;
rPath:string;
begin
   rPath:=ExtractFilePath(ParamStr(0))+'Report\test.fr3';
     fr1.LoadFromFile(rPath);
    RichView := TfrxRichView(fr1.FindObject('Rich1'));
   if od.Execute=true then
    RichView.RichEdit.Lines.LoadFromFile(od.FileName);
   if fr1.PrepareReport then
  fr1.ShowPreparedReport;
end;

It successfully loads the file into the frxRichView and shows the report. However, it only show the portion or the rtf file before the page break. I have set the allowsplit to true but like I said...only shows page 1.

What am I missing?

Any help would be appreciated.

Comments

  • gpigpi
    edited 7:43AM
    Sorry, but TfrxRichView doesn't support page breaks

Leave a Comment