-
In a standard text box I get a context menu without any code. If I right click over a text box I can choose cut,copy,past,undo yadda,yadda,yadda.
In a RichTextBox I do not have that comming up. However if I use the controlZ or controlC hot keys they work.
what code or property controls if this menu is shown?
it seems obvious that the functions are there somewhere.
thank you for your time and have a good day
-
never mind I am sorry to have bothered you all.
-
here is another one for you.
I have made a form to do the search and replace funtion.
When I would perform the search on a text box I could highlight the text on a different form without it taking the focus. The focus stayed on the search form.
How do I get the text to become hightlighted in a rich text box without it taking the focus.
This is an issue because the user has the option of "find next" so I would like to keep the focus on the search form.
recap.
form1=search form
form2=contains rich text box
when text is found in form 2 I want it to be highlighted(selected) but keep focus on form1 so the user can "find next"
thank you for your time and have a good day
-
In your rich text box properties, set HideSelection to false so the highlighted text will stay highlight when the form loses focus.
-