Board index » delphi » TRichEdit

TRichEdit

Hello,
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

--
___________________________________________________________________

 Robert P. Rubio                          Telf.: 93-4017001
                                          Fax  : 93-4017055
                       2
          E = 75% * M C            (L'altre 25% s'ho queda Hisenda)
URL: <http://www.ac.upc.es/homes/robert>  
___________________________________________________________________

 

Re:TRichEdit


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