RichTextBox highlight text

DavyEFC

Well-known member
Joined
Dec 17, 2010
Messages
51
Programming Experience
5-10
To highlight text at the moment i'm using:
VB.NET:
Me.txtNote.SelectionBackColor = Me.dlgColor.Color

where dlgColor is a colour selector.

Seems to work ok, but how do i de-highlight, like you can do in, say, MS Word?
I could set the highlight to the paper colour but that isn't right because if the paper changes colour the text is obviously still highlighted in the old colour.

A tad confused... again.
 
Back
Top