Questions tagged [ribbon]

1

votes
3

answer
2.4k

Views

RibbonGroupsPanel … accepts only IProvideStarLayoutInfo instances?

I am trying to use a RibbonGallery in my application, but I get this error at runtime, when the tab which contains the gallery is loaded: 'RibbonGroupsPanel RegisterStarLayoutProvider and UnregisterStarLayoutProvider accepts only IProvideStarLayoutInfo instances. Parameter name: starLayoutInfoProvi...
melculetz
1

votes
2

answer
3.1k

Views

VSTO : how to set a ribbon's button from ThisAddIn class

I have a ribbon, that has button in it. When a user selects new document, I would like to change the ribbon's button's text. I think I've done everything but one line: private void ThisAddIn_Startup(object sender, System.EventArgs e) { var wb = this.Application; ((Word.ApplicationEvents4_Event)wb).N...
XristosK
1

votes
3

answer
4k

Views

How do I dynamically change the text of a CMFCRibbonLabel

My CMDIFrameWndEx derived main frame window uses a CMFCRibbonStatusBar to which I add a CMFCRibbonLabel. I'd like to change the text of this label at runtime: m_pLabel->SetText(description); m_pLabel->Redraw(); It only updates the text but not the rectangle in which to draw it. So if the original te...
foraidt
1

votes
0

answer
28

Views

WPF Ribbon IsMinimized take effect only after clicking somewhere on the screen

When using MyRibbon.IsMinimized = true; the minimize take effect only after clicking somewhere (anywhenre, even outside the application) After MyRibbon.IsMinimized = true; and Before clicking somewhere: After Clicking anywhere on the screen or even on other place outside the app:
Yuval Levy
1

votes
0

answer
39

Views

WTL CCommandBarCtrl imagelist (default and hot/disabled) ignored when set

I am trying to modify the images in a ribbon's Quick-Access-Toolbar but all my attempts seem to be in vain. I had the WTL-wizard create a simple ribbon-based application to start with. The wizard creates a CMainFrame with the a member var called 'm_CmdBar' of type 'CCommandBarCtrl'. In 'CMainFrame::...
Edward
1

votes
1

answer
766

Views

Testing Hystrix fallback through Feign API: com.netflix.client.ClientException: Load balancer does not have available server for client

When testing the Hystrix fallback behavior of my Feign API, I get an error, when I expect it to succeed. Feign interface: This is the api to the external service. @FeignClient(name = 'book', fallback = BookAPI.BookAPIFallback.class) public interface BookAPI { @RequestMapping('/') Map getBook(); @Com...
Eric Turley
1

votes
0

answer
430

Views

Enabling zuul retry breaks Eureka routing on PCF

I'm trying to enable retry capability within a Zuul gateway, and am able to get things working locally, but when I deploy the gateway to PCF, I get the following error when zuul.retryable=true: { 'timestamp': 1524669167094, 'status': 500, 'error': 'Internal Server Error', 'exception': 'com.netflix.z...
jeffaudio
1

votes
1

answer
231

Views

How to open create form on click of N:N relationship subgrid + button? currently, it shows lookup search behavior

I have N:N relationship between account and custom address entity and on account form, I have subgrid for custom address. On click of subgrid + button, it shows lookup search. But I need to change that to show create form popup. I know in this scenario, I should have used 1:N relationship between ac...
Sagar
1

votes
1

answer
317

Views

Connection refused can not use retry when use ribbon

info: spring-cloud.version=Dalston.SR5 spring-boot-starter-parent=1.5.7.RELEASE zuul-core=1.3.0 When one client's status is down(I mean kill it),but zuul can also have cache of instance info, so request will route to down client, but can't have a correct response.so zuul do retry, route request to a...
Hope Dc
1

votes
1

answer
56

Views

Vertically center RibbonComboBox in RibbonGroup (in WPF)

I would like know whether there is a possibility to vertically center a RibbonComboBox in a RibbonGroup without setting a margin. I tried to use VerticalAlignment and VerticalContentAlignment, but unfortunately this did not work. This is how it looks right now: This is how it should look like (plea...
TPS
1

votes
0

answer
31

Views
1

votes
2

answer
89

Views

Call Dervied Class function Using Base Class object

I’m trying to draw CMFCRibbonTab a with slightly small difference in which the text is a positionned a little bit higher. To achieve that I’ve created a derived class called DCRibbonTab that extends CMFCRibbonTab and rewritten virtual void OnDraw(CDC * pDC) function as the following : #pragma on...
Annabi Gihed
1

votes
1

answer
493

Views

Not able to set timeout for ribbon and hyxtrix

I'm trying to set in application.yml the properties to set the timeout for ribbon and hystrix and I'm not able to do that. I'm always getting the same issues: 'Unknown property hystrix.command' and 'Unknown property ribbon.ConnectTimeout' hystrix: command: default: execution: isolation: thread: tim...
hector s.
1

votes
1

answer
73

Views

Dynamic authentication with Ribbon and @LoadBalanced

I've got a microservice that suports HttpBasic authentication for two users, user and admin, with different authorizations. Now I've got a web app asking for a login and delegating the operations to the first microservice. I am using @LoadBalanced and RestTemplateBuilder this way @LoadBalanced @Bean...
didgewind
1

votes
1

answer
153

Views

Registering Zuul on Eureka in Kubernetes cluster

I have a Kubernetes cluster on Linux with one master node and two slave nodes. I have installed & created services for a eureka-server and Zuul with multiple replicas which are accessible by NodePorts. In order to enable load balancing, we need to register Zuul service in Eureka. Can anybody let me...
Aditya Datta
1

votes
0

answer
58

Views

Create Word Custom Task Pane using VB6

We have a already designed Word ribbon bar and we have our own styles set. We have a ribbon bar button called 'Styles' and when click on it, Styles model dialog will pop-up. Now I need to create a non-model dialog to show the Styles as like as the the Word in-built Styles pane. Our product's final...
ApsSanj
1

votes
1

answer
47

Views

Excel CustomUI Ribbon Placement Next To Another CustomUI Ribbon Tab

I have two custom ribbons on excel, I can not combine them. I would like to make it so that one is always 'before' or 'after' the other custom tab. But I can't figure out how to program the XML to accomplish this. *********************** This will place my 'customTab' at the very end regardless of...
repete90
1

votes
0

answer
33

Views

How to specify Excel workbook from custom ribbon?

I have an .xlam with a custom ribbon defined. It works great, the ribbon shows up when I open the workbook, and my macros run when I click buttons. I want to have multiple versions of the addin open at once (Title & File name reflect version number, so there's no problem opening both). I can open bo...
Dan
1

votes
1

answer
26

Views

Debugging Sharepoint Framework Webpart without running gulp serve --ship and gulp package-solution --ship every time

I'm currently developing a Sharepoint WebPart using the Sharepoint Framework environment. I'm currently working with the ribbon(adding buttons and dropdowns) so I am obliged to deploy the webpart online so I can test the ribbon related tasks(there is no ribbon in the workbench). My steps for testing...
David Marinca
1

votes
0

answer
21

Views

Outlook VSTO Disabling/Repurposing View Source

I'm trying to block 'View Source' in Outlook 2016 Mail Item. But the idMso for View Source appears to be incorrect, or it's not even used. Below is the code in my IRibbonExtensibility object public void MyOnAction(Office.IRibbonControl control, ref bool cancelDefault) { cancelDefault = true; } publ...
tdemay
1

votes
0

answer
56

Views

How to open a web resource in a new tab instead of a new window when clicking a ribbon button

I've created a ribbon button inside my Dynamics 365 crm. On click, the ribbon Button should open a new tab with some stuff in it. The problem: This is the code launched when its clicked: function OpenPage () { Xrm.Utility.openWebResource('new_someWebResourceHTML'); } the code actually works, and...
E. Peracchia
1

votes
1

answer
67

Views

Netflix Zuul/Ribbon/Eureka vs AWS ELB/ALB & ECS

I understand from the documentation with the use of Netflix Zuul & Eureka (maybe Ribbon too) you can build an active load balancer. I have always used AWS ELB, ALB (ECS for container management) with R53. Apart from the vendor portability, Is there any advantage of using Netflix approach than using...
Chandru
1

votes
0

answer
16

Views

Ribbon giving 404 response on WebLogic 12c

I have the following spring boot applications structure: gateway application as zuul proxy. backend application as microservice. When I hit a rest service in backend through zuul routing using ribbon load balancer, give me 404 response. But when I remove the ribbon load balancing, It works fine. Thi...
Yousef
1

votes
1

answer
1.4k

Views

How To Read and Write Delphi 2010 RibbonApplicationMenuBar Recent Items To A File

How do you read and write RibbonApplicationMenuBar recent items to a file or an INI file? The help file is not very helpful for getting at the list of recent item strings to save and reload the recent items. I can add items to the recent items list by Ribbon1.AddRecentItem( APathFilename) and open...
Bill Miller
1

votes
1

answer
1.3k

Views

Dynamically Customizing the Built-In Office 2007 Ribbon

I'm trying to dynamically customize the built-in Ribbon Controls on an Office2007 ribbon by adding C# objects such as RibbonTab, RibbonGroup, RibbonControl to the Ribbon. I have been unsuccessfull in disabeling any existing built-in controls, however I can add my own group. Now i'm thinking that d...
user77027
1

votes
2

answer
5.2k

Views

WPF: Custom Theme for RibbonControlLibrary

I am using RibbonControlLibrary by Microsoft. It has three predefined themes and one can use them by or or How can i define my own custom theme for this Ribbon? Is there any custom theme available?
viky
1

votes
2

answer
447

Views

WPF container for Image template

I'm storing the urls to the images in a sql ce 3.5 database as strings. I want to retrieve the urls and display them in the main application window. Here is the code: DataSet myDataSet; private void OnInit(object sender, EventArgs e) { string connString = Properties.Settings.Default.SystemicsAnalyst...
EVA
1

votes
1

answer
1.5k

Views

WPF Ribbon Control - Change Content of a Ribbon Button

Is there any way to change the Content of a RibbonButton? I know that a RibbonButton has an Image and a Label but I want a button with a shape (Rectangle class) in it's Content and this button should have the RibbonButton style applied. Is there any way to do that?
morsanu
0

votes
0

answer
16

Views

Localization of “File” and recent items title

I'm using the Windows Ribbon Framework for Delphi in a Delphi XE4 project, on a Windows 10 machine. I already have a TActionList and each TAction's Caption is set in code depending on the selected language for my application. I noticed that by linking a TAction with a TUICommand, almost all captions...
Joe Costanzo
1

votes
1

answer
1.9k

Views

WPF: Data binding & Display member path

i have created a RibbonGallery/ComboBox to display a list of installed fonts. but sometimes after entering say 'V' this is what i get look at the text in the menu. [Font Family: Name=... why is that happening. code // xaml // code behind InstalledFontCollection col = new InstalledFontCollection()...
Jiew Meng
1

votes
1

answer
987

Views

MS Ribbon for WPF - How can I change the skin

I'm using the latest version of MS Ribbon for WPF (3.5.40729.1). Downloaded from: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2BFC3187-74AA-4154-A670-76EF8BC2A0B4&displaylang=en and want to change the skin of ribbon. How can I change the skin ? Is microsoft planning to provide any s...
Vishal
1

votes
2

answer
808

Views

RibbonComboBox Text Not Retaining Edits

I have the following xaml in my ui: Both SelectedRemark and Remarks are properties on my view model; and Remarks is an ObservableCollection. It will display properly, and I can edit the text in the combobox. However, as soon as the combobox loses focus, it reverts back to whatever the the original t...
John Kraft
1

votes
1

answer
299

Views

How to force a RibbonButton to be alway enabled?

I have a Microsoft Ribbonbar inside a Window, and every RibbonButton is associated to a specific command like this: I'm handling the commands in this way into the code-behind of a specific Canvas object placed in the same window: private void BindApplicationCommands() { // FILE group this.CommandBin...
NinjaCross
1

votes
1

answer
317

Views

Updating RibbonMenu

I'm trying to find a way to update a RibbonMenu's items (like a few RibbonButtons) when the RibbonMenu is clicked (i.e. something like a BeforeDropDown). I know I can update it with the event of another control, but how do it update it when it is clicked? This doesn't seem to be of much help.
Stan
1

votes
1

answer
1.4k

Views

C# WPF ribbon:RibbonTextBox vs. TextBox

After installing Microsoft Ribbon for WPF, I create a WPF Ribbon Application. For textbox, I have choices of 'ribbon:RibbonTextBox' or 'TextBox' - they seems to work the same to me. Anyone know of the difference between the two?
KMC
1

votes
1

answer
1k

Views

Sharepoint 2010 Ribbon Paste Command

currently SharePoint 2010 offers 2 ways to insert the clipboard content for example into a textfield. The normal paste which contains formatting and the 'paste only text' option. What I'd like to achieve is, that the 'paste text only' option is the default and the other option is hidden. The user sh...
Steve
1

votes
1

answer
570

Views

Rename MS Word 2010 backstage tab

I want to rename MS Word 2010 backstage tab from 'file' to another name from dotm file. Is there a way to do this?
SparcU
1

votes
2

answer
1.3k

Views

Ribbon buttons act like a group

I created 3 actions and assigned them to 3 buttons in a ribbon group. I want the buttons act like a group, one is always down, the others - up. Just like left/center/right align buttons. I have set groupIndex property of my actions to 1. Help says: 'GroupIndex is used to define groups of actions th...
Kiril Hadjiev
1

votes
1

answer
129

Views

applications using ribbon

We're looking for applications that implemented the ribbon control just to see how developers other than MS Office team used this control. I tried googling a bit but the list is still short. Can you guys refer me to some good projects that are using the ribbon control the right way? Thanks, MR
Michal Rogozinski
1

votes
1

answer
765

Views

WPF “object” browser similar to Windows explorer?

I'm writing a server management application. I want to show a and a 'grid' or whatever you want to call it, with an icon for each server. Kind of like how Explorer has an icon with text for each file/folder. The reason this needs to be a 'grid' layout is that each server is shown on the grid with a...
Stevoman

View additional questions