Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
Hello, I'm trying to make a sub that will highlight the text of a RTB that is passed. Here is the code: Private Sub SearchAll(ByVal selectedRichTextBox As RichTextBox) Dim startPos As Int16 = 0 Dim matchPos As Integer = selectedRichTextBox.Find(TextBoxSearchFor.Text, startPos, selectedRichTextBox.Text.Length, RichTextBoxFinds.None) selectedRichTextBox.SelectionBackColor = Color.Yellow While matchPos >= 0 … |