Partial underline within a rich text box
The code noted below allows me to underline all the text in a rich text box. Can someone suggest code that will allow me to highlight part of the content of the rich text box and underline only that text? Thanks
Private
Sub BtnFont_Click(ByVal senderAs System.Object,ByVal eAs System.EventArgs)Handles BtnFOnt.Click'Set the font dialog control propertiesFontDialog1.ShowColor =
True'Show the font dialogIf FontDialog1.ShowDialog = Windows.Forms.DialogResult.OKThen'If the OK button was clicked set the font'in the text box on the formRichTextBox1.Font = FontDialog1.Font
'Set the olor of the font in the text box on the formEndIfEndSub
