Questions tagged [commandbar]
120 questions
0
votes
0 answers
Excel365 commandbar not appearing in add-in tab
I have an Excel add-in for statistical analysis that creates a commandbar with some menu/sub-menu. The code that I use is below:
Sub CreateMyMenu()
Dim cbBar As CommandBar
Dim cbCtrl As CommandBarControl
Dim cbCtrl1 As CommandBarControl
…

Abhishek Samanta
- 1
- 2
0
votes
2 answers
UWP how to know if a button is in Commandbar.SecondaryCommand
How do I know if my AppBarButton is collapsed to the Commandbar.SecondaryCommand? As you can see from the image, when the window size is smaller, some of my buttons are added to the Flyout of More. And they are not displayed properly because I give…

Seaky Lone
- 992
- 1
- 10
- 29
0
votes
1 answer
Recommended approach to display Dropdown in CommandBar
What is recommended approach to display a Dropdown in CommandBar?
There is no build-in support to display a dropdown in CommandBar. I know two ways to work around that.
Label + Dropdown. It's the simplest implementation but I have to take care of…

qxg
- 6,955
- 1
- 28
- 36
0
votes
1 answer
0
votes
1 answer
How to have multiple sections in Command Bar like Photos app
I am trying to replicate the appearance of the CommandBar within the build in Photos app. The command bar has three sections at the left, centre and right.
My guess is that the right items are the primary items, with the centre and left sections…

Sam
- 4,219
- 7
- 52
- 80
0
votes
0 answers
How to arrange buttons vertically on Excel CommandBar?
My code creates 2 buttons on a custom Commandbar. It's working fine, but the 2 buttons are side by side, and I want them vertically stacked. How can I fix this ?
Sub Crea_Menu()
With Application.CommandBars.Add(Name:="GL", Temporary:=True)
…

iDevlop
- 24,841
- 11
- 90
- 149
0
votes
1 answer
VBA: Custom Right Click Menu Option Isn't Visible
I am trying to create an option that allows the user to remove data validation from a cell via the right click menu option. So far, the code is compiling and executing without errors. It is succesfully adding the custom control to the collection…

Tommy
- 25
- 1
- 7
0
votes
2 answers
Commandbar not getting focus -- gotta use keyboard
My little project is progressing well, however I'm stumbling over something which is probably stupid...
Somehow, when I open the application, nothing gets focus, I have to use the "tab" key to be able to move the focus to the commandbar and to be…

Francois Gagnon
- 362
- 4
- 20
0
votes
1 answer
Move Command Bar Buttons Click Events from frame out to MainPage UWP
I have to move a CommandBar from a page loaded into a frame in the MainPage, where the NavigationView is present. I implemented the visibility of an AppBarButton when I load the page where the CommandBar was located. How can I refer to the parameter…

ZampTom
- 41
- 7
0
votes
1 answer
Hiding the ellipse button in command bar
I am trying to show the ellipse button in the command bar only when it is in a Minimal mode.
So far, the command bar isn't showing the ellipse button when on launched, this is how it looks like:
So when I clicked on my hide button, which is the…

thalassophile
- 275
- 2
- 12
0
votes
1 answer
How do I get the UI Fabric Command Bar contextual Menu to work?
I have been trying to use the Office UI Fabric's Command Bar control in Office.js API Microsoft Word application.
The buttons that are seen in the main bar all work as intended when the app is displayed in the maximum width of the task pane. When I…

Alfree92
- 45
- 6
0
votes
1 answer
How can I dynamically change the Source of an Image within a CommandBar?
After searching for one day through the depth of the Internet, I try to ask you directly...
I wrote a Windows 10 UWP App in C#. I would like to Show the strength of the wifi Connection. I have several Images to show this. The wifi strength should be…

Y.Drestl
- 41
- 3
0
votes
2 answers
How to increase the command bar height in compact mode in a UWP app?
I want to increase the Height of the command bar when its property "ClosedDisplayMode" is set to "Compact". I even tried it by editing the default styles but i couldn't solve it. Please help me.I have added the image of the commandbar to resize

S P
- 11
- 2
0
votes
1 answer
CommandBar overflow menu not detecting taps
I have a CommandBar. The main part works, including detecting taps. The overflow menu shows the tab names, but when I tap one of the tabs, nothing happens, and I can't see that any code fires. What am I missing?

William Jockusch
- 26,513
- 49
- 182
- 323
0
votes
1 answer
CommandBar XAML - UWP - Properties Anniversary Edition SDK
In my app, I have many commandsBar, but with this last SDK, the button "..." disappear on my commandBar.
I search on web and the conclusion: At Build 2016, showed changes in many XAML elements. CommandBars specific, have new properties.
If I put…

fipcurren88
- 701
- 5
- 26