S
Sam
Hi,
I really don't understand why the following code set the font color of
'message' to blue but then when I type text manually in the richtextbox
after 'message', the font is still blue ! It should be black as I do
"\cf0}". Can anyone explain that to me ?
Dim message As String = "[" & DirectCast(lstFields.SelectedItem,
Field).FieldName & "]"
txtMessage.Rtf = "{\rtf1\ansi
{\colortbl;\red0\green0\blue0;\red0\green0\blue200;}" & txtMessage.Text
& "\cf2" & message & "\cf0}"
I really don't understand why the following code set the font color of
'message' to blue but then when I type text manually in the richtextbox
after 'message', the font is still blue ! It should be black as I do
"\cf0}". Can anyone explain that to me ?
Dim message As String = "[" & DirectCast(lstFields.SelectedItem,
Field).FieldName & "]"
txtMessage.Rtf = "{\rtf1\ansi
{\colortbl;\red0\green0\blue0;\red0\green0\blue200;}" & txtMessage.Text
& "\cf2" & message & "\cf0}"