I wrote code that once I write roby It will the color red
Then continues its normal color ..
It gets Bookmark
As soon as i write Roby, It writes in black, and then continues the red reporter
This code ..
Then continues its normal color ..
It gets Bookmark
As soon as i write Roby, It writes in black, and then continues the red reporter
This code ..
PHP:
Dim ColorText As Integer = -1
ColorText = RichTextBox1.Find("roby", ColorText + 1, RichTextBoxFinds.NoHighlight)
If (ColorText >= 0) Then
RichTextBox1.SelectionLength = "Roby".Length
RichTextBox1.SelectionColor = Color.Red
End If