Hi,
How can I assign the content of a string variable to the Rtf property
of a richtextbox :
Dim message As String = txtMessage.Rtf & "[" &
DirectCast(lstF ields.SelectedI tem, Field).FieldNam e & "]"
txtMessage.Rtf = "{\rtf1\ans i message}"
This displays 'message' instead of its content :(
Thx
How can I assign the content of a string variable to the Rtf property
of a richtextbox :
Dim message As String = txtMessage.Rtf & "[" &
DirectCast(lstF ields.SelectedI tem, Field).FieldNam e & "]"
txtMessage.Rtf = "{\rtf1\ans i message}"
This displays 'message' instead of its content :(
Thx
Comment