設(shè)為首頁收藏本站Access中國

Office中國論壇/Access中國論壇

 找回密碼
 注冊

QQ登錄

只需一步,快速開始

1234下一頁
返回列表 發(fā)新帖
查看: 12229|回復(fù): 32
打印 上一主題 下一主題

一個MVP的Ribbon實(shí)例

[復(fù)制鏈接]

點(diǎn)擊這里給我發(fā)消息

跳轉(zhuǎn)到指定樓層
1#
發(fā)表于 2009-4-28 13:03:16 | 只看該作者 回帖獎勵 |倒序?yàn)g覽 |閱讀模式
原文: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 類,只需用很少的代碼就能改變功能區(qū)按鈕控件可用狀態(tài)、標(biāo)題文字以及按鈕上的圖片)
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 訂閱訂閱
推薦
發(fā)表于 2009-4-29 12:59:45 | 只看該作者
好東西收藏了
2#
發(fā)表于 2009-4-28 13:39:37 | 只看該作者
學(xué)習(xí)
學(xué)習(xí)
3#
發(fā)表于 2009-4-28 13:40:26 | 只看該作者
好東西,  謝謝分享~~
4#
發(fā)表于 2009-4-28 14:29:08 | 只看該作者
牛人,就是看起來累啊,外語太一般了~~
5#
發(fā)表于 2009-4-28 16:08:49 | 只看該作者
學(xué)習(xí)一下怎么回事
6#
發(fā)表于 2009-4-28 16:10:22 | 只看該作者
2007,打不開
7#
發(fā)表于 2009-4-29 12:25:18 | 只看該作者
9#
發(fā)表于 2009-4-29 15:30:09 | 只看該作者
好東西收藏了
10#
發(fā)表于 2009-4-29 15:57:23 | 只看該作者
:):):)
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則

QQ|站長郵箱|小黑屋|手機(jī)版|Office中國/Access中國 ( 粵ICP備10043721號-1 )  

GMT+8, 2024-10-23 06:27 , Processed in 0.108029 second(s), 37 queries .

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回復(fù) 返回頂部 返回列表