Re: Text color of Delphi RichEdit


[ Delphi Forum -- by DelphiLand ]

Posted by WAllison on November 05, 2003 at 17:32:48:

In Reply to: Text color posted by Joey on November 01, 2003 at 17:45:21:

: Sowwi bout all these question but i have another one...
: In the rich edit component is there any way to change colors of single words?

: I am making a small WML editor (i makes lots of pointless things) and i would like for things within to be in orange things with "" to be green and things not to be in blue but i have no idea how :S can you help

: BTW: If richedit is not the one then the memo or somet, thx ;-)

Select the text with selstart, sellength then use selattributes to change colors/fonts





[ Delphi Forum ]
[ DelphiLand: free Delphi source code, tips, tutorials ]