The office ribbon is an amazing new interface.[attach]37509[/attach]
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"
歡迎光臨 Office中國(guó)論壇/Access中國(guó)論壇 (http://ctxi.cn/) | Powered by Discuz! X3.3 |