HomeЛюди и блогиRelated VideosMore From: Fox Learn

C# Tutorial - How to Search and Highlight Text in a RichTextBox | FoxLearn

70 ratings | 6880 views
How to Search and Highlight Text in a RichTextBox in C#. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language. This is the best way to Learn C# for beginners Searching words in a text and highlighting them using c# Search and highlight text in Textbox or richTextBox in C# Highlight all searched word in richtextbox C# c# - search and highlight text in textbox How to find the text and highlight all text in RichTextBox of windows forms using c# How do you search for a string in a rich text box and highlight all found or highlight each line in c# RichTextBox Find the text and Highlight all text in c#
Html code for embedding videos on your blog
Text Comments (18)
Victor McKeighan (1 year ago)
Very good, thanks!! Just one comment --- at end of while loop, the assignment of startIndex should be '=', not '+='. Took me a little while to find out why all instances of my searched word were not being found.
Jakob Kosir (1 year ago)
Isn't there an easier way to do this, without any indexof and shit, cause it is pretty complicated for only the back color
Verses01 (1 year ago)
Thank you sooo much!! This helped my immensely!!!
Sara Khan (1 year ago)
I Watch and Downloaded all Your Videos... Very Very excellent & helpful for me > Thanks
hello...thanku its amazing....kindly help me that who we (count) these highlighted words .....
Fox Learn (1 year ago)
OK. Thank you
Rabih al Houssein (1 year ago)
thank u....do u know a method ,class or library to insert a dynamic sizable table to richtextbox c#?
Fox Learn (1 year ago)
No, I think you can copy table, then paste to richtextbox. first you need to copy table then add to resource, see video how to add equation to richtextbox, i think similar the way. thanks
Fachry Ansyah (2 years ago)
yess.. my problem solved,  after watch this video
Fox Learn (1 year ago)
That's great. Thank you so much ^_^
faisal yousfani (2 years ago)
hey nice work keep it up .. but in my case i have my own searching method .. now i wanted to highlight the searched words .. can you help me out .. ???
Fox Learn (2 years ago)
Ok. Let's me research. thanks
axel sernelin (2 years ago)
Great videos dude, keep it up :)
Fox Learn (2 years ago)
Thank you so much :)
SkilLs 7 (2 years ago)
nice i have surce code have some error cam i connact for u to help me ?
Fox Learn (2 years ago)
Hi, What error are you getting ? Thanks
SkilLs 7 (2 years ago)
nice i have surce code have some error cam i connact for u to help me ?
Fox Learn (2 years ago)
Yes, You can contact me via email. You can find my email in the about tab. Thanks

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.