首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我可以在Word 2010的QAT上放置一个splitButton控件吗?

我可以在Word 2010的QAT上放置一个splitButton控件吗?
EN

Stack Overflow用户
提问于 2010-12-13 13:38:18
回答 1查看 401关注 0票数 0

我已经添加了一些自定义按钮在Word 2010的QAT上使用RibbonX,我也想使用splitButton来分组一些按钮,但我发现QAT无法显示自定义splitButtons。

RibbonX代码的一部分:

代码语言:javascript
复制
<splitButton idQ="x1:BookmarkButtons" visible="true"><button idQ="x1:InsertLinkedImportantContentBookmark" onAction="InsertLinkedImportantContentBookmark" label="Insert linked important content bookmark" imageMso="NewSketchpadTool" visible="true"/><menu idQ="x1:OtherBookmarkButtons" visible="true"><button idQ="x1:InsertLinkedImportantContentBookmark" imageMso="NewSketchpadTool" onAction="InsertLinkedImportantContentBookmark" label="Insert linked important content bookmark" visible="true"/><button idQ="x1:BoldAndInsertLinkedImportantContentBookmark" imageMso="NewSketchpadTool" onAction="BoldAndInsertLinkedImportantContentBookmark" label="Bold and insert linked important content bookmark" visible="true"/></menu></splitButton>

当我使用Word对话框导入RibbonX文件时,没有错误,除了splitButton之外,所有的控件都工作正常,它没有出现在QAT上。我想知道我是否可以在Word 2010的QAT上放置一个自定义的splitButton控件。如果没有,我如何将一些函数组合在一起?非常感谢你的回答。

EN

回答 1

Stack Overflow用户

发布于 2010-12-22 05:11:55

不能,很遗憾不能将splitButton添加到QAT中。您能做的最好的事情就是创建一组seperator来将您的控件与其他控件分开。有关QAT的更多详细信息,请参阅http://msdn.microsoft.com/en-us/library/dd948879.aspx

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4426090

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档