Re: set TRichEdit text in bold

Posted by joe90 on June 04, 2005

In Reply to: Re: set TRichEdit text in bold posted by webmaster Guido on June 04, 2005

So if I did the following:

RichEdit1.SelAttributes.Style := [fsBold];
RichEdit1.Lines.Add('This should be bold');
RichEdit1.SelAttributes.Style := [];
RichEdit1.Lines.Add('This should be regular');

Should this work? I've tried it and well, it didn't - it all came out regular.

P.S: Excellent FindDialog tutorial. I look forward to the snippet.

joe90

Related Articles and Replies