Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Excel 中有一个自定义功能区选项卡。有什么方法可以保持按下自定义切换按钮?
VIEW > Workbooks Views我在该部分中找到了一个示例。可以选择一个视图并按住按钮。
VIEW > Workbooks Views
您需要使用toggleButton控件并使用getPressed回调,它允许指定是否按下切换按钮控件。您可以在 MSDN 的以下系列文章中阅读有关 Ribbon UI 的更多信息: