设为首页收藏本站Access中国

Office中国论坛/Access中国论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

1234下一页
返回列表 发新帖
查看: 11721|回复: 32
打印 上一主题 下一主题

一个MVP的Ribbon实例

[复制链接]

点击这里给我发消息

跳转到指定楼层
1#
发表于 2009-4-28 13:03:16 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
原文:http://www.members.shaw.ca/AlbertKallal/Ribbon/ribbon.htm
作者:Albert D. Kallal
时间:Friday, April 23, 2009

Access MVP Albert Kallal has developed a Ribbon class object that you can use to simplify modifying Ribbon commands at runtime.
The office ribbon is an amazing new interface.
The problem with the ribbon is that takes a lot of code to change the ribbon at runtime.
Solution: With my ribbon class you can enable, hide, change label text, or pictures of a button with great ease and very little code. (使用 Ribbon 类,只需用很少的代码就能改变功能区按钮控件可用状态、标题文字以及按钮上的图片)
This ribbon class allows you to use the simple "old style" syntax to enable, hide, or change the text of a button.
e.g.:
meRib("Button1").enabled = true
meRib("Button1").label = "this is the new text" & _
                      " for button1 on the ribbon"
meRib("Button1").picture = "HappyFace.png"




The entire article, along with a sample implementation of the class, is available.


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

本帖被以下淘专辑推荐:

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1 分享分享 分享淘帖2 订阅订阅
推荐
发表于 2009-4-29 12:59:45 | 只看该作者
好东西收藏了
回复 支持 1 反对 0

使用道具 举报

2#
发表于 2009-4-28 13:39:37 | 只看该作者
学习
学习
3#
发表于 2009-4-28 13:40:26 | 只看该作者
好东西,  谢谢分享~~
4#
发表于 2009-4-28 14:29:08 | 只看该作者
牛人,就是看起来累啊,外语太一般了~~
5#
发表于 2009-4-28 16:08:49 | 只看该作者
学习一下怎么回事
6#
发表于 2009-4-28 16:10:22 | 只看该作者
2007,打不开
7#
发表于 2009-4-29 12:25:18 | 只看该作者
9#
发表于 2009-4-29 15:30:09 | 只看该作者
好东西收藏了
10#
发表于 2009-4-29 15:57:23 | 只看该作者
:):):)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|站长邮箱|小黑屋|手机版|Office中国/Access中国 ( 粤ICP备10043721号-1 )  

GMT+8, 2024-5-3 14:23 , Processed in 0.112386 second(s), 37 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表