Is it possible to manipulate the color of a TRichEdit->Selection ???

Is it possible to manipulate the color of a TRichEdit->Selection ???

Post by Halvani. » Wed, 10 Dec 2003 09:04:22


hi dear builders,

just a little question: Is it possible to manipulate the color of a
TRichEdit->Selection ???
By default the selection color of the TRichEdit is black, isn't it possible
to change it to blue
like the selection in TMemo ???

Or do I realy need to use a own component for this little thing...?


Thanks for any hints...

Oren
 
 
 

Is it possible to manipulate the color of a TRichEdit->Selection ???

Post by Hans Galem » Wed, 10 Dec 2003 09:53:34


Yes if you are in for some more color.

Make the TRichEdit Color property clYellow.

Hans.

 
 
 

Is it possible to manipulate the color of a TRichEdit->Selection ???

Post by Team » Wed, 10 Dec 2003 10:21:24


No. The color is controlled by the OS itself, from the settings in the
Control Panel.


No, by default it is whatever color is set in the Control Panel for all
selections.


Gambit
 
 
 

Is it possible to manipulate the color of a TRichEdit->Selection ???

Post by Halvani. » Wed, 10 Dec 2003 11:28:58

OK..got it..thanks for the info Remy :-)