Board index » delphi » Text Colors in TMemo

Text Colors in TMemo

Hi All,

I would like to change the text color in the TMemo based on the type of text
being set to the Lines.  So for example, one line would be blue text and the
next red.  Is this easy to do in the TMemo or should I use the TRichView
component.  I would really like to do it in the TMemo.

Thanks!

Dana

 

Re:Text Colors in TMemo


Hello Dana,

No way in TMemo. I believe TRichView is really a great component, but try
TRichEdit first.

--
Andrei Fomine.
DbAltGrid - multi-line layout, RTF and graphics of any kind in DBGrid.
Transfer@once - full-blown clipboard and drag-and-drop transfer in native
MS Office formats to/from any control.
www.quasidata.com

Quote
"Dana Dill" <d...@danadill.com> wrote in message news:3d06d164_1@dnews...
> Hi All,

> I would like to change the text color in the TMemo based on the type of
text
> being set to the Lines.  So for example, one line would be blue text and
the
> next red.  Is this easy to do in the TMemo or should I use the TRichView
> component.  I would really like to do it in the TMemo.

> Thanks!

> Dana

Other Threads