Error in clipping / wordwrap property in TfrxMemoView

edited 10:03PM in FastReport 4.0
Hi,

I've placed a TfrxMemoView on a TfrxDetailData band. The clipped property of the memo is true and the wordwrap property is false.
When the report is printed there is still a line break if the text doesn't fit into the memo (see attachment).

Thanks in advance

Peter

Comments

  • Anu de DeusAnu de Deus Hampshire, UK
    edited January 2011
    The Band needs to stretch to acomodate the Memo new dimensions.
    Make the DetailBand.stretched := true
    (I'm in doubt if that is the right property, I'm trying to remember without looking at the code. Maybe is the Stretch := MaxHeight that you want)
    In any case, it's the band that nees to stretch.
  • edited 10:03PM
    I've tried the stretched property (true) of the band as well as the strechedmode property of the memo (smMaxHeight), but it didn't work. There is still a word wrap, the only way to hide the wrapped line is to reduce the height of the memo. Any other ideas?

    Thanks

    Peter
  • Anu de DeusAnu de Deus Hampshire, UK
    edited 10:03PM
    what exactly you want to display?
    Do you want to hide everything after the wordwrap, or make it display the whole text, with or without word wrapping?
    There is also the autosize property of the frxMemo you can play with.

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.