Ribbon X Editor

0 views
Skip to first unread message

Lida Rick

unread,
Aug 5, 2024, 2:44:23 AM8/5/24
to ticbersscordus
Hasanyone else seen this GUI before? Is this actually a completed object hidden inside of Creo somewhere? Opening the resource file by itself obviously only just loads the "text"... but I figure if someone went through the trouble of actually creating the ".res" file... there must be some code or an application somewhere to leverage it.

Thats a separate GUI. The "Dialog Editor" is something that PTC has provided in Creo 3 to help create ".res" files easily and quickly without having to go manually code up the files. The "ribbon designer" is completely different. It looks like a much more robust and much more capable version of going to the "customize ribbon" inside of Creo....


Applies to: The information in this topic applies to document-level projects and VSTO Add-in projects for the following applications: Excel; InfoPath 2013 and InfoPath 2010; Outlook; PowerPoint; Project; Visio; Word. For more information, see Features available by Office application and project type.


A Ribbon code file. This file has the name that you specify for the Ribbon (Visual Designer) item in the Add New Item dialog box. Add code to handle Ribbon events to this file.


The Ribbon Designer contains a default tab and group. You can remove the default tab and group from the Ribbon Designer. To remove the default group, right-click Group1, and then click Delete. To remove the default tab, right-click an empty area of the design surface, and then click Remove Ribbon Tab.


You can also add custom tabs, groups, and controls to the Ribbon Designer. You can find these controls in the Toolbox, in the Office Ribbon Controls group. There are three ways to add controls from the Office Ribbon Controls group to the Ribbon Designer:


You cannot drag controls from one tab to another on the ribbon. If you want to move a control to another tab, you must use the Cut command to remove the control from one tab, and then paste the control on another tab. If you do cut the control and paste it, the event handler stops working. You can reconnect the event handler in the Properties window. For more information, see Properties window.


You can change the order of custom tabs on a ribbon. You can also position custom tabs before or after a built-in tab on the ribbon. For more information, see How to: Change the position of a tab on the ribbon.


The Ribbon Designer enables you to set control properties at design time by using the Properties window. In addition, the ribbon exposes a strongly typed object model that you can use to get and set the properties of Ribbon controls at run time.


You can double-click any control on the designer to open an event handler for the control's default event. You can create event handlers for all other control events by using the Properties window.


Ribbon events and properties are located in the Microsoft.Office.Tools.Ribbon namespace. The Ribbon (Visual Designer) item automatically adds a reference to this assembly in the project and inserts the appropriate using or Imports statement at the top of the Ribbon code file.


You cannot position controls before or after built-in controls by using the Ribbon designer. A built-in control is a control that already appears in Backstage view. If you want to position controls before or after built-in controls, you must use Ribbon XML. For more information about Ribbon (XML), see Ribbon XML. For more information about customizing the Backstage view, see Introduction to the Office 2010 Backstage view for developers and Customize the Office 2010 Backstage view for developers.


ive got a section of text, i select it by double clicking, and the ribbon stays stationary, on the home ribbon. the ribbon in the past and in all other cases, switches automatically to the text editor ribbon. where i can adjust the justification, or underline text, or change styles etc...


I would like this resolved for 2019 as well. Really hate the old style dialog box and would prefer the "Text Editor Ribbon" that previously displayed when text was selected similar in the 2016 version.


That is not a ribbon thing, but fair enough. Tab and/or Panel names could be used as a prefix to filter out results. Problem here is whether to use the category and subcategory strings provided by the components themselves (these become the tab and panel names), or whether to use the current ribbon layout. The first makes it work the same everywhere, and also allows you to access components that are completely hidden from the ribbon, the latter makes it consistent with what you see.


Great work on the new GH! When you get to it, this would be a useful feature to have. Right now my various component lists are organized by publisher, not by how I use them. Well, when you get to it. BTW, with this new tool (GH 1.0) the fun is just starting.


Finally ponied up for Rhino 6 and loving it. Thank you. Just want to put my shout in here for some form of grasshopper ribbon customization, in whatever form. It was imperfect in R5 but I found it very useful.


In AutoCAD 2017, when I use MTEDIT and open the Text Editor the size of the ribbon at the top of AutoCAD increases in size from the regular ribbon size and then reduces back to normal ribbon size when I exit the text editor. It is very jarring for the ribbon to jump up in size when I want to edit text.


Apart from closing cad down all the time and re opening it (which fixes the problem 75% of the time) is there another way of fixing it.



One way i know that sometimes fixes it is to add or remove a textstyle, but would be nice to stretch the ribbon to what ever size you want and expand when you want.


Thank you, Though I do need that tab you gave me the idea to look further into modifying the tab itself. For those who have the same issue as me I have currently changed the Resize Style from the default of collapse as needed to collapse last (not sure why that would fix anything but so far so good. but if the problem keeps occurring I will just remove 'style' from the tab itself.



I'm amazed how much i've forgotten about Cad over the years


By default the text styles are collapsed and you can scroll through them to select what you want or you can expand the list and get a fly out menu with a grid of 3x2 text styles to scroll through. On random occasions the text style selection will come up as say 3x15 or what ever and actually increase the size of the ribbon to cover the entire screen, so you cant even see the text your trying to edit.


I cant control the number of text style I get in drawings provided to me and I need the style panel regularly. The behavior of this seems random to me, I can have 10 drawings with multiple textstyles and 1 will have this issue, I can add or delete a text style and half the time it will fix it, I can save, close, reopen and half the time fix it etc. Obviously with less text styles its less of an Issue, but the number seems to have little or no effect on if it happens


I received drawings from architects and they came in in individual drawing files. So I would combine them into one drawing using my company drawing template. After I combined them into one drawing I also had to select all hatches to make them 50% transparent. Some time the contextual hatch editor ribbon would come on and some time it does not. Why is that? How do I make the ribbon show? How do I make the hatch transparency 50% if the ribbon does not show? Many thanks.


I can see that there are four values for PICKSTYLE when I typed in the command bar - 0, 1, 2 and 3. My setting was set at 0. But I have tried all four values and it has no effect. I still can see the hatch editor ribbon when I select the hatch objects. I also note that only values 2 and 3 show the check mark in the Selection Option menu. What value should set my the PICKSTYLE to? Cheers.


I believe the issue is nothing related to the size of the ribbon. Like I said before, the ribbon some time comes up and some time it does. I have not messed around the ribbon size and any other settings within AutoCAD. I think the problem may be somehow in selecting hatch objects it also selected other non-hatch objects. But I can't think of why this would happen as I used QuickSelect and Filter Select to select the hatch objects. A possible reason could be because the hatch objects are within a block. When QuickSelect select the hatch objects, it selected the entire block containing the hatch object. But I don't know how to test if this is the culprit. Can you suggest a method to test this?


I assume the problem is the selection limit set to display the contextual tab. By default, it is set to 2500. so if the number hatch selected is within 2500 it would display the contextual tab if this limit exceed it would not show up. You can increase the limit up to 32767. Type in the command "RIBBONCONTEXTSELLIM" and set it to a higher value like "25000" and see if that resolves the issue


I also don't have the ability to install executables. I can recommend two free Excel addins that may solve this problem for people like us. (Full disclosure, I just created the second addin, hence my answer to a 4-year old question).


The first is Andy Pope's RibbonX Visual Designer It lets you edit ribbons or build them from scratch, and has lots of features, including a form with all the built-in button images, a VBA callback stub generator, and others. I've used this for years, and have learned a lot about Ribbon XML while doing so:

3a8082e126
Reply all
Reply to author
Forward
0 new messages