FastReport 3 and TfrxRichView

edited 2:14PM in FastReport 3.0
I'm trying to build a report only using Delphi code.

I want to add a Pageheader Band that contains a TfrxRichView object.
The content of the RTF may be text and picture(s). The height of the RTF may vary.

How can I determine the height of the TfrxRichView object after loading a *.rtf-file
at design-time?

I've tried TfrxRichView.CalculateHeight but it seems, I don't get the wright value.

Thanks in advance.

Comments

  • edited 2:14PM
    Just set the band.stretched to True and richview.stretchmode to smActualHeight. It will stretch automatically.
  • edited 2:14PM
    I have a similar problem. I'm using on the report RichText Object with a lot of text. On preview the rich object dosn't continue on the next page even if i check the strech option.
  • gordkgordk St.Catherines On. Canada.
    edited 2:14PM
    set the allowsplit property of the band.
    ;)
  • edited 2:14PM
    It is working.
    Thanks a lot

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.