设计界面和“On Mouse UP ...”事件 [英] Designing an Interface and the "On Mouse UP..." Event
问题描述
我正在设计一个界面,我想自定义按钮,而不是使用Access中标准的纯灰色框。
有没有办法设置On Mouse Up?和On Mouse Down控件的事件显示两张不同的图片?
我有两张图片:Button-UP.jpg和Button-Down.jpg。可以设置Access以在on mouse down event上显示Button-Down。并在on mouse up上显示Button-UP。活动?
谢谢
I am designing an interface, and I would like to customize the buttons instead of using the plain gray boxes that are standard in Access.
Is there a way to set for the "On Mouse Up" and "On Mouse Down" events for the control to display two different pictures?
I have two pictures: Button-UP.jpg and Button-Down.jpg. Can is set Access to show Button-Down on the "on mouse down event" and show the Button-UP on the "on mouse up" events?
Thanks
推荐答案
我是设计一个界面,我想自定义按钮,而不是使用Access中标准的普通灰色框。
有没有办法设置On Mouse Up?和On Mouse Down控件的事件显示两张不同的图片?
我有两张图片:Button-UP.jpg和Button-Down.jpg。可以设置Access以在on mouse down event上显示Button-Down。并在on mouse up上显示Button-UP。活动?
谢谢
I am designing an interface, and I would like to customize the buttons instead of using the plain gray boxes that are standard in Access.
Is there a way to set for the "On Mouse Up" and "On Mouse Down" events for the control to display two different pictures?
I have two pictures: Button-UP.jpg and Button-Down.jpg. Can is set Access to show Button-Down on the "on mouse down event" and show the Button-UP on the "on mouse up" events?
Thanks
假设您的命令按钮是Command1:
Assuming your Command Button is Command1:
假设您的命令按钮是Command1:
Assuming your Command Button is Command1:
太棒了 - 谢谢!我会试试的。反正有没有将它嵌入Access数据库本身?
Great - thanks! I''ll try that. Is there anyway to make this embedded in the Access database itself?
这两个事件中的代码将自动嵌入在数据库中。代码随表格的代码模块一起提供。这是你指的是什么?
The code in these 2 Events will automatically be ''embedded'' within the Database. The code accompanies the Form''s Code Module. Is that what you are referring to?
这篇关于设计界面和“On Mouse UP ...”事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!