Hi
Thanks for that. I am not sure how to do it. For instance I am appending two
lines and I want both in different colours like this;
My.Forms.frmMyForm.txtMyRichText.AppendText("This text needs to be in
black")
My.Forms.frmMyForm.txtMyRichText.AppendText("This text needs to be in red")
Thanks
Regards
"Herfried K. Wagner [MVP]" <hi***************@gmx.atwrote in message
news:OX**************@TK2MSFTNGP02.phx.gbl...
"John" <Jo**@nospam.infovis.co.ukschrieb:
>How can I add some txt in red and other in grey to a rich text control?
Take a look at the overloaded 'Select' method and the control's
'SelectionColor' property.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>