Impression not Justified - Alignment=Left.
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
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
This discussion has been closed.
Comments
could you be more specific, what is wrong with printed memo, is it right
aligned or centered or ...?
regards,
Chris Ueberall;
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;
Ok. Debug Memo.Lines.Text noticed that the same arrives with Breaks of
lines.
Thanks.
Anderson Haertel Rodrigues