Reply to thread

You can colorize, perhaps make a list using bullet points (removing them is going to be trickier though), bold, underline, strikeout (I think), italicize. I may have forgotten a few, but other than that, you can't make tables, and do all that kind of fancy stuff, unless you were to create your own control that can do things like that.


Ex:

[code]Public Sub MainMethod()

    Const word As String = "simple"

    RichTextBox1.Select(RichTextBox1.Text.IndexOf(word, StringComparison.Ordinal), word.Length)

    RichTextBox1.SelectionColor = Color.Red

    RichTextBox1.SelectionFont = New Font(RichTextBox1.Font.FontFamily, RichTextBox1.Font.Size, FontStyle.Bold)

End Sub[/code]


[ATTACH]5168[/ATTACH]


Back
Top