MS Access 2007将图像加载到功能区 [英] MS Access 2007 Load Image to Ribbon

查看:175
本文介绍了MS Access 2007将图像加载到功能区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为转换后的A2003应用程序自定义功能区栏。我正在尝试找出如何在功能区中的按钮控件上使用我自己的自定义图像。任何人都可以给我一个可以做到这一点的Access 2007的例子吗?

I'm trying to get to grips with customising a Ribbon Bar for a converted A2003 app. I'm trying to work out how to use my own custom images on button controls in the ribbon. Can anyone point me to an example for Access 2007 that can do this pls?

推荐答案

我有一个工作示例类对象你可以使用它可以减少代码。

I have a working example class object you can use that makes this a good deal less code.

http://www.members.shaw.ca/albertKallal/Ribbon/ribbon.htm

上面的内容让你使用非常像以前的样式代码方法。因此,要为功能区设置图片,您可以:

The above lets you use a very much like previous style code approach. So, to set a picture for a ribbon, you can go:

meRib("Button1").Picture = "HappyFace.png"

同样的下载有一个工作表单,其中功能区中的某些图像会根据所做的选择而改变表格。

The same download has a working form in which some images in the ribbon change from choices made on the form.

这篇关于MS Access 2007将图像加载到功能区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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