在只读模式下打开表单时隐藏按钮 [英] Hide buttons when form is open in read only mode

查看:92
本文介绍了在只读模式下打开表单时隐藏按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,我已从一个按钮打开,在acFormReadOnly中打开我想隐藏表单上的某些按钮。这可能吗?

I have a form that I have opened from a button to open in "acFormReadOnly" and i want to hide certain buttons on the form. Is this possible?

推荐答案

在表单加载事件中,你可以使用这样的代码来实现你想要的:
In your forms load event you could have code such as this to achieve what you want:
展开 < span class =codeDivider> | 选择 | Wrap | Line数字


感谢一堆,但有没有办法让它更加柔和(借口拼写)。例如可以使用案例吗?为此?
thanks a bunch but is there a way to make it more sofisticated (excuse the spelling). for e.g. is it possible to use "Case" for this?


您需要提供有关您的想法的更多详细信息。当然你可以使用CASE声明,但是你没有提供任何关于你的选择标准的信息。
You need to provide more details on what your thinking. Of course you can use a CASE statement but you dont give any information as to what your selection criteria should be.


这篇关于在只读模式下打开表单时隐藏按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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