I've got a program where I need to have a popup menu in a textbox. You know, rightclick, and you get a menu.
Problem is that when you rightclick a textbox you get a standard popupmenu with copy, past and so on. How do I get rid of that?
//Anders
Printable View
I've got a program where I need to have a popup menu in a textbox. You know, rightclick, and you get a menu.
Problem is that when you rightclick a textbox you get a standard popupmenu with copy, past and so on. How do I get rid of that?
//Anders
There was a topic about this a couple days ago. Here it is.
You could always use a Richtextbox and set the AutoVerbMenu to false. Well, it is default that it is already false. This will disable the menu when right clicking.
But the problem with that is that if you are using the TextBox for the simple purpose of Password or Name entries, it will not be necessary to use a RichTextBox. It comsumes more resources that a standard TextBox.