* "whaletyr" <wh******@wanadoo.nl> scripsit:
I created a rich tekst box in vb
I need to write some data into a rich tekst box and I willput a standard
line of tekst in there and the variable. but I want the variable in another
color. eg red inb stead of black like the standard teksts line
How can I do that
For very /simple/ formats, you can use the control's overloaded 'Select'
method to select a portion of text and then set the control's
'SelectionColor' property to the desired color.
--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>