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 strongm 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!!!
 
Are you talking about Access here? I think it's the only app that with default right click context menu for controls.

In Tools -> Startup , untick the "Allow default shortcut menus" check box.

You will need to close and re-open the database for changes to take effect.


SteveO

 
Hi,

In addition to the previous post you can also disable the menus on a per-form basis by setting Shortcut Menu to No

Andrew
 
I talk about VB 6.0 and I don't be able to disable context menu of a textbox in the options my project.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top