|I need help with selecting specific text in a richtextbox control in VB6.|
What I originally wanted was a box with multiple paragraphs, each separated by two linefeed characters:
Dim strExample = "This is filler for the sake of this example, and serves to be nothing more than pretentious writing, solely for the purpose of being overly verbose and nonsensical; doing this proves to suit my purposes just fine." & vbCrLf & vbCrLf & _
"This second filler paragraph is to continue the train of thought with an unbroken, unfettered display of absolutely nothing, though slightly interesting and mildly entertaining nontheless."
RichTextBox1.Text = strExample
Now, I want to use the Click event to select all of the text in either of the two paragraphs, but not all text inside the entire richtextbox control:
Private Sub RichTextBox1_Click()
'not sure how to do it
'I was hoping someone would
'be able to help me
'thanks in advance
I have scoured the web for hours - and to no avail.