Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How disable context menu(right click) of a textbox? 1

Status
Not open for further replies.

stefnany

Programmer
Mar 1, 2004
20
CA
Hi,
I want to know how to disable the default context menu(when I do right click) of a textbox.

Thanks!!!
 
There is probably a better solution but, you can create a ContextMenu, say cmuNull, do not add any items to it. Assign the textbox contextmenu option to cmuNull, now when you right-click, nothing should pop-up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top