3
Answers

Search RichTextBox

pretzel

pretzel

20y
2.7k
1
(new to c#) I'm trying to use the Find method to search text in a richtextbox... eg. myTextBox.Find("Text",0,RichTextBoxFinds.WholeWord); The problem is I want to combine RichTextBoxFinds options - WholeWord (value = 2) - MatchCase (value = 4) - Reverse (value = 16) The microsoft web site says: "You can combine one or more values from this enumeration to specify more than one search option when calling the Find method." Can anyone show me and example in code? Do you add the numbers or list the numbers? Thanks, Ron
Answers (3)
Next Recommended Forum