Change text attributes without using RVStyles?
Posted: Fri Apr 13, 2007 6:36 am
Hi! In a richedit if I would color a single word I use this code.
SelAttributes.Color := clRed;
SelText := 'Hi World!';
SelAttributes := DefAttributes;
Is it possible to do the same in a Richview without using RVStyles?
How can I change text attributes (font, backcolor, color, styles...) runtime?
My application needs to use text attributes choose by users, several times for every single line.
eg
word 1000 2000 word word word
I've should have to align colums, maybe without use of fixed font..
Thanks!
SelAttributes.Color := clRed;
SelText := 'Hi World!';
SelAttributes := DefAttributes;
Is it possible to do the same in a Richview without using RVStyles?
How can I change text attributes (font, backcolor, color, styles...) runtime?
My application needs to use text attributes choose by users, several times for every single line.
eg
word 1000 2000 word word word
I've should have to align colums, maybe without use of fixed font..
Thanks!