Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

TppMemo not wrapping

edited August 2001 in General
I am using a TppMemo to print a footer on my report. The problem is that the
text is longer than one line and sometimes it does not wrap and therefore
runs off the page. It seems to happen inconsistently across operating
systems. In addition, when this does happen, if the report is printed for a
second time (without restarting the program) it prints fine. Here is a quick
rundown of the pertinent properties:

BottomOffset := 0
CharWrap := False
ForceJustifyLastLine := False
Stretch := False
TextAlignment := taLeftJustified

Have you heard of this before? Thanks.

Comments

  • edited August 2001
    A memo can't stretch in a footer, since the footer is a static height band.
    So you have a static height memo. The reason that you may get different
    behavior, is that the printer driver is used to figure out the text width
    and height in order for it to calculate how to wrap wthin the space that is
    is given on the page. RB renders using the printer canvas to get the text
    width and text height. If the text height returned won't fit on the second
    line in the memo, then perhaps resize the memo height so that it is taller.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.