HIGHLIGHTED Text Focus problem
Hello. I have made an editor application with c# using richtextbox, my problem is that when the user inputs the search string in the find window and clicks on find, the found text is highlighted only if the richtext box has the focus. so i have to issue the command richTextBox1.Focus(). But i don't want that since i want the user to keep pressing "enter" to search for the next occurance of the word/sentence being searched (just like with ms notepad.exe)
Any solutions/ideas would be very appreciated.
Another problem i found is that the Undo/Redo functions dont operate if the .Text was retrieved, done a search on google and found it to be a KNOWN bug in richtextbox. any solutions?
Thanks alot