如何禁用工具栏但允许右键单击复制/粘贴? [英] How do I disable toolbars but allow copy/paste right click?

查看:88
本文介绍了如何禁用工具栏但允许右键单击复制/粘贴?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试禁用非管理员用户的菜单。我已成功完成此操作,但复制/粘贴功能(通过右键单击文本框)不起作用。我尝试启用菜单栏,但这仍然无法正常工作。


传统控制+ C和Control + V工作正常。这是右键单击,不会出现。

展开 | 选择 | Wrap | 行号

解决方案

要为特定表单启用/禁用右键单击快捷菜单,您可以修改该表单的 ShortCutMenu 属性的值(真/假)。在你的情况下:

展开 | 选择 < span class =codeDivider> | Wrap | 行号


我不知道任何方式(我怀疑没有)只允许右键单击菜单中指定的,单个的选项。据我所知,它是启用还是不启用。


我有Access 2007但这适用于2000.设置对Microsoft Office 12.0对象库的引用。 12.0将根据版本而变化。我相信该功能只需运行一次,菜单将与您的数据库一起存储。将控件的ShortcutMenuBar属性设置为命令栏的名称。它应该在设计视图的下拉列表中。

然后按ADezii所述启用disable。

展开 | 选择 | Wrap | 行号

I am trying to disable the menus for non-admin users. I have done this successfully but the copy/paste functions (by right-clicking in a textbox) do not work. I have tried enabling the Menu Bar, but this still isn''t working.

Traditional Control + C and Control + V work fine. It is the right-clicking the doesn''t come up.

Expand|Select|Wrap|Line Numbers

解决方案

To Enable/Disable the Right-Click Shortcut Menus for a specific Form, you can modify the Value (True/False) of the ShortCutMenu Property of that Form. In your case:

Expand|Select|Wrap|Line Numbers


I don''t know of any way (I suspect there is none) to allow only specified, individual, options from the right-click menu. It is either enabled or not as far as I''m aware.


I have Access 2007 but this worked for 2000. Set a reference to the Microsoft Office 12.0 Object Library. The 12.0 will change depending on version. I believe the function only needs to be run once and the menu will be stored with your database. Set ShortcutMenuBar property of the control to name of command bar. It should be in a drop down list in design view.
Then enable disable as ADezii stated.

Expand|Select|Wrap|Line Numbers


这篇关于如何禁用工具栏但允许右键单击复制/粘贴?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆