Dofactory.com
Dofactory.com
 Back to list
Views:   5.2K
Replies:  1
Archived

How do you Search within a RichTextBox instead of from a TextBox-VB.NET


What I can do is to highlight a word in a RichTextBox, and popup a contextmenu. The suggestions come from the dictionary. But I first have to press the Find button, which checks a textBox with the word in order to find it in the RichTextBox, and for the menu to appear. That is the only thing I can do for now. How can I search within the RichTextBox only?

Check the link for my dictionary


Kelvin Nyota, Jan 02, 2016
Reply 1
I presume this is on the browser?

If so, you'll need to use JavaScript and Ajax to get the values from the Dictionary on the server. 
The exact code very much depends on the Rich Text Editor you're using, i.e. how to interact with the text in the editor.

Hope this gets you started.  
Jack Poorte, Jan 09, 2016
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.