ribbon-control

Macro button under customized ribbon tab tries to open old Excel file

末鹿安然 提交于 2020-06-22 13:10:06
问题 I created a custom ribbon tab on my Excel like Excel_app_v1.xlsm , and a button under this ribbon tab is connected to a macro. So when I click this button, the macro does some table importing applications. The first strange thing is that I created this ribbon tab and the button for only this Excel file, but the ribbon tab and the button appear in all other Excel files, even if the original Excel file Excel_app_v1.xlsm is not open. The second problem is that I created a second version of my

Disable Ribbon Button

最后都变了- 提交于 2020-01-14 19:03:39
问题 I want to disable and NOT hide a ribbon button (specifically Ribbon.ListItem.New.NewListItem) on a particular List type. On web I could find a lot many posts showing me ways to remove/hide buttons but none really worthwhile which could tell me how can I just disable an alrteady existing sharepoint button in my custom List type. e.g. Following code does remove the button instead of hiding. Id="RemoveRibbonButton" RegistrationType="List" RegistrationId="213908" Location="CommandUI.Ribbon"> 回答1:

Display logo or image in the Ribbon using VSTO

我是研究僧i 提交于 2020-01-06 15:25:08
问题 I am customizing a ribbon in the Excel using VSTO. I want to display a logo which is of stamp size in a ribbon. I tried the button which is not visible enough. The logo has some text in it and could not read when I use button. Any suggestions? 回答1: VBA command bar has the option to display image but unfortunately Microsoft doesn't have any controls to display image in Ribbon using VSTO. But I used a button and made it disabled ever and displayed image still it is not nice as VBA. 来源: https:/

WPF right align ribbon button

我的梦境 提交于 2019-12-25 07:15:30
问题 Is there a way to align a ribbon button to the right? I'm using Microsoft ribbon. Thanks, Raymond 回答1: The question is already solved in this link. put it in ribbon group. RibbonButton not aligning properly in Ribbon Control in WPF 来源: https://stackoverflow.com/questions/12468120/wpf-right-align-ribbon-button

How to store and retrieve the RadioGroup Radio Button and CheckBox of Ribbon Control from Winforms Devexpress to MS Access Database?

血红的双手。 提交于 2019-12-23 05:25:38
问题 In my form I used Ribbon control in that RadioGroup is used for calculations. Now I need to store content of form and want to retrieve it back if I click in Gridview. I can able to store and retrieve textedit, lookup edit and checkedit outside Ribbon Control. How to store and retrieve the RadioGroup from Ribbon Control ?? example for storing CheckBox I used this code bool temp = barCheckItem1.Checked; In Access Database used "Yes/No" Data Type to store. For retrieve used this code

Open XML SDK - Adding a macro programatically to a Word 2007 document

核能气质少年 提交于 2019-12-21 05:24:10
问题 I am trying to dynamically add a new custom ribbon in a Word 2007 document following teh manual method described in this article :- http://msdn.microsoft.com/en-us/library/aa338202(v=office.12).aspx. The article specifies the following :- a) Create a XML file named customUI.xml which will contain the elements you want to display in the tab and put the same in a folder named customUI. b) Rename your Word 2007 document to .zip. Add the above "customUI" folder to the zip file. c) Add the

How to hide Title bar in WPF Ribbon Window (Aero enabled) without hidden control box?

☆樱花仙子☆ 提交于 2019-12-21 05:14:07
问题 I currently use WPF Ribbon Window and enable Aero in current window like the following photo. I like to hide title that is "Pattern Tester" because there is not enough of space to show it. But I still need original windows control box and current title (even it will be hidden) that will be shown in task manager and other ralated program like task switcher and taskbar. 回答1: I accidentally found the answer for this question when I read & download source code in thread about WPF Title Bar Text

Remove “Save & Send” from File menu in Excel 2010 using custom XML

此生再无相见时 提交于 2019-12-20 06:16:40
问题 Could someone please help me modify the following XML code (Office 2007) so that it works in Office 2010? I've included my XML from Office 2007 below: <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <officeMenu> <menu idMso="FileSendMenu" enabled="false"/> <menu idMso="FileEmailAsPdfEmailAttachment" enabled="false"/> <menu idMso="FileEmailAsXpsEmailAttachment" enabled="false"/> <menu idMso="FileSendAsAttachment" enabled="false"/> </officeMenu> </ribbon> I

Ribbon in WinForms C# .Net 4.0

大城市里の小女人 提交于 2019-12-18 16:51:56
问题 Does Microsoft have ribbon control for non-Office applications? If not is there any that are available for free? I like that component and would like to use it my WinForm 4.0 application. 回答1: Microsoft makes one for WPF that you can download here. There is an open source ribbon that should work for traditional WinForms. 回答2: Microsoft have made a bit of a mess of providing a Ribbon control. Initially it had some very complex licence conditions, these may be relaxed now but the control is not

Does Qt support ribbon control?

感情迁移 提交于 2019-12-17 22:58:06
问题 Does Qt support ribbon control? 回答1: I want to share with you the link to site has published screenshots of their component Qtitan Ribbon for Qt. http://www.devmachines.com/qtitanribbon-overview.html 回答2: One of their sample apps apparently has a ribbon, so it should be do-able. http://qt.nokia.com/images/products/vtk-designer-opengl-screenshot 回答3: While there is no dedicated Ribbon widget in Qt, you can fashion something similar yourself. You could take a QTabWidget and put some buttons