Board index » delphi » Delphi 4 TRichEdit

Delphi 4 TRichEdit

Hello, can you help me?
How can I type on one, two, three..... ten... lines text with inverted
color?
 

Re:Delphi 4 TRichEdit


Quote

> Hello, can you help me?
> How can I type on one, two, three..... ten... lines text with inverted
> color?

TRichedit does not support different background colors as a character or
paragraph property, if that is what you are after.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitely requested!

Re:Delphi 4 TRichEdit


Quote
"Peter Below (TeamB)" wrote:

> > Hello, can you help me?
> > How can I type on one, two, three..... ten... lines text with inverted
> > color?

> TRichedit does not support different background colors as a character or
> paragraph property, if that is what you are after.

This is because TRichEdit is a wrapper for the Rich Edit 1.0 native
Windows control.  However, Rich Edit 2.0 does support background
character colors.  There are a couple of fairly complete components that
implement RE 2.0 available on Delphi sites.  Look for TRichEdit98 and
the RX Library.  (Bounce through the Links page at
http://home.att.net/~robertdunn/Yacs.html if you have trouble finding
them.  Also, there is a paper on the site describing RE 2.0 how you
might get it.)

HTH.

robert

Other Threads