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

Impression not Justified - Alignment=Left.

edited February 2002 in General
I possess a MEMO of Delphi with the property Aligment=taLeftJustify, in the
form appears in the correct way. I have the option of printing this form and
in the impression the text doesn't come out justified. I use a TppMemo with
the property TextAligment=taLeftJustified and in the event onPrint it is the
following code:

ppMmDESC_1.Lines.Assign(AHRMmDESC_1.Lines);

How do I do for the justification of the form to be same?

Thanks.
Anderson

Comments

  • edited February 2002
    Hi Anderson,

    could you be more specific, what is wrong with printed memo, is it right
    aligned or centered or ...?

    regards,
    Chris Ueberall;

  • edited February 2002
    "Chris Ueberall (TeamDM)" escreveu na mensagem
  • edited February 2002
    Anderson,

    that's not a justification issue nor a RB one.
    Because you assigned existing 'Lines' you will get those new lines where
    there are line breaks in you source. Try to assign the text without the line
    breaks, use the 'Text' property of the source, or use a source without any
    carriage returns. You'll will have that effect with standard 'TMemos' too.

    regards,
    Chris Ueberall;
  • edited February 2002
    Chris,

    Ok. Debug Memo.Lines.Text noticed that the same arrives with Breaks of
    lines.

    Thanks.

    Anderson Haertel Rodrigues

This discussion has been closed.