RTF file with page breaks

edited 4:59PM 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 4:59PM
    Sorry, but TfrxRichView doesn't support page breaks

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.