Disable a Textbox default context menu

R

Roidy

How do I disable the default contextmenu on a Textbox? I want a user to be
able to right click a textbox and have an action happen but even if I set
the contextmenustrip property for the textbox to (none) I still get the
default copy/paste menu, how do I completely disable it.

Thanks
Robert
 
H

Herfried K. Wagner [MVP]

Am 30.05.2010 21:44, schrieb Roidy:
How do I disable the default contextmenu on a Textbox?

\\\
Me.TextBox1.ContextMenu = New ContextMenu()
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top