Board index » delphi » TRichEdit


I have a TRichEdit object and I need insert in a line a character with a
different value for the background color.

I suposse the background color of the TRichEdit is white. I need insert
in the TRichEdit a "hello" message with blue background.

It's possible?

Thank you,



 Robert P. Rubio                          Telf.: 93-4017001
                                          Fax  : 93-4017055
          E = 75% * M C            (L'altre 25% s'ho queda Hisenda)
URL: <>  



Look up TRichEdit.SelAttributes, set the properties you wish for the
inserted text an copyfromclipboard (for plain text - for richtext you can
change the relevant properties at the source).

Other Threads