Click here to Skip to main content
15,886,071 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi, I have a richtexbox with some text in it and a timer. I want to make the richtexbox start from the begining of the text and select the first word and as the timer resets change the selection to the next word and so forth until it is finished with the final word. Its kind of like leap frog to help children read.

winforms

visual C#

Thank you for your help,
Posted
Updated 1-Nov-12 22:52pm
v2
Comments
Nelek 2-Nov-12 4:44am    
Good idea. Go ahead. Have fun coding.

If that was a question... maybe you should have a look to:
what have you tried?[^]
How to ask a question?[^]

You are not saying much info, as for instance: Which language? is it for a web, for an phone-app or for a pc?
MR. AngelMendez 2-Nov-12 4:56am    
Sorry, I forgot about that. I updated my question with the required details. Its for a winforms application, visual C# as the language and OS is windows 7 to be exact.

1 solution

A really quick google search turned up this article: Search and Highlight Text in RichTextBox[^]. Maybe you can get a starting point from here.
 
Share this answer
 
Comments
Clifford Nelson 2-Nov-12 16:03pm    
I agree completely. This is how I would have done it.
fjdiewornncalwe 2-Nov-12 16:08pm    
Thanks, Clifford.
Maciej Los 2-Nov-12 18:11pm    
Good link ;)
+5!
MR. AngelMendez 7-Nov-12 6:25am    
hi, I went through the link. How would I go about in making this auto highlight a string word for word through a timer system?

Thanks all for the help,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900