技術(shù) 點(diǎn)
- 技術(shù)
- 點(diǎn)
- V幣
- 點(diǎn)
- 積分
- 71645
|
原文: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
|