I am trying to retrieve the word from the RichTextEdit control where the mouse cursor currently focusing on
Is there any specific event in RichTextEdit that I can use to retrieve the word?
Thanks
regards,
Balan
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are not talking about Devexpress RichTextEdit , then i think you can use the carret position as it is shown here
Problem with finding the next word in RichTextBox
and also use the MouseDown event to use it .
also this maybe helps too
http://msdn.microsoft.com/en-us/library/system.windows.controls.richtextbox.onmouseleftbuttondown%28v=vs.95%29.aspx