hidrau
asked on
how to center only a line in richedit?
Hello guys,
I'd like to center a line of my richEdit, not all text.
I don't know if there is a function where I could pass the line that must be affect with alignment, something like:
(richedit, line, typeAlign)
I hope someone can help me on this
thanks
Alexandre
I'd like to center a line of my richEdit, not all text.
I don't know if there is a function where I could pass the line that must be affect with alignment, something like:
(richedit, line, typeAlign)
I hope someone can help me on this
thanks
Alexandre
I did a little more research. There is a way to align a paragraph i in a Richedit;
To left justify (a paragraph):
RichEdit.Paragraph.Alignme nt := taLeftJustify;
To center (a paragraph);
RichEdit.Paragraph.Alignme nt := taCenter;
To right justify:
RichEdit.Paragraph.Alignme nt := taRightJustify;
regards
Lopem
To left justify (a paragraph):
RichEdit.Paragraph.Alignme
To center (a paragraph);
RichEdit.Paragraph.Alignme
To right justify:
RichEdit.Paragraph.Alignme
regards
Lopem
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
thanks
regards,
Lopem
ps. i will search a little more...