Questions tagged [toolstrip]

This is .net framework class which provides a container for Windows toolbar objects. This is used in creating toolbars in Winform application.

288 questions
6
votes
1 answer

Adding a TrackBar in ToolStrip

I am trying to add a TrackBar in my ToolStrip. I have found this code somewhere on the net but I am not sure how to use it as it should be compiled maybe? Code /// /// Adds trackbar to toolstrip stuff /// [ …
Dumbo
  • 13,555
  • 54
  • 184
  • 288
6
votes
1 answer

Why do my horizontal toolstrips keep stacking verticaly?

I'm using a ToolStripContainer that contains three ToolStrips. At design time I move the ToolStrips to the positions I want them in, which is in a horizontal row across the top of the form like this: I then close and save the Form. However, if I…
Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
6
votes
3 answers

How to make a ToolStripComboBox to fill all the space available on a ToolStrip?

A ToolStripComboBox is placed after a ToolStripButton and is folowed by another one, which is right-aligned. How do I best set up the ToolStripComboBox to always adjust its length to fill all the space available between the preceeding and the…
Ivan
  • 63,011
  • 101
  • 250
  • 382
6
votes
1 answer

Save user location of toolstrip still not working in VS2012

I've been struggling with multiple toolstrips in a toolstripcontainer for years. I have a current .NETv3.5 application written in VS2008 where the location of the toolstrips are random. A lot of custom code have been made to fix this but without any…
Paul Meems
  • 3,002
  • 4
  • 35
  • 66
5
votes
3 answers

Change Border of ToolStripComboBox with Flat Style

I would like to be able to change the border color of ToolStripComboBox controls in some of my toolstrips, since the default border color of ComboBoxes when used with flat styling is SystemColors.Window, which is basically invisible against the…
Justin Aquadro
  • 2,280
  • 3
  • 21
  • 31
5
votes
1 answer

Toolbars in ToolStripContainer don't keep their position

I don't know why this is happening... But, every time I open the designer for a form, the toolbars in the ToolStripContainer move one under the other, instead of being all on the same line (how I left it before). Is there any fix to this problem?
Tibi
  • 4,015
  • 8
  • 40
  • 64
5
votes
3 answers

Trying to add a ToolStrip to a ToolStripPanel side-by-side with an existing ToolStrip

I'm using .net 2.0 with Visual Studio 2005 and I am trying to add two different toolstrips to the top of the form such that they show up side-by-side. I want it to be like Word 2003, where you can add multiple toolstrips to the same row and have…
5
votes
1 answer

setting ToolStripSplitButton.DropDownButtonWidth to 0

I want to use ToolStripSplitButton as a button only (no drop down menu) in my StatusStrip. For this reason i want to not display the little arrow, but i can't do this. Tried do this with setting ToolStripSplitButton.DropDownButtonWidth to 0, and it…
DxCK
  • 4,402
  • 7
  • 50
  • 89
5
votes
1 answer

ContextMenuStrip not resizing properly

When I'm changing text of a ToolStripLabel in my context menu, the context menu isn't resized automatically as it's supposed to be, when I change text of a menu item.Looks like this then: How can I make the context menu resize properly? I could…
Bitterblue
  • 13,162
  • 17
  • 86
  • 124
5
votes
1 answer

Toolstrip order in Toolstrip container

I have a toolstrip container with two toolstrips. I want to force one of them to be displayed on top of the other. I tried setting Dock to Top for one and to Bottom for the other, but they are still displayed randomly. I also tried using…
Jerry
  • 4,258
  • 3
  • 31
  • 58
5
votes
2 answers

ToolStrip covering controls

My ToolStrip covers my TabControl. I have played with the docking and anchoring but cannot figure out how to stop this. My TabControl has Dock set to Fill. Whatever my ToolStrip has Dock set to, it still covers the TabControl
rhughes
  • 9,257
  • 11
  • 59
  • 87
5
votes
3 answers

Change the BackColor of the ToolStripSeparator control

Is it possible to change the BackColor of ToolStripSeparator control? There is a BackColor property in the designer, but it doesn't appear to be used - the color is always white.
Siwar
  • 219
  • 2
  • 7
  • 18
5
votes
3 answers

Moving toolstrip just a little too far left will create a new row if another toolstrip is on the same toolstrip panel

When I drag a toolstrip to the left (perhaps just to get it in the corner) with another toolstrip in that same toolstrip panel, the one I'm dragging jumps down to a 'new' row, as if I had moved it down. It's quite tricky to explain, so here's a…
Dan W
  • 3,520
  • 7
  • 42
  • 69
4
votes
3 answers

Why doesn't toolstriplabel's backcolor property change during design time or run time?

I need to have a toolstrip label and its back color changed during runtime, but no matter what I do. It just won't change its backcolor, even though they give option to change its backcolor. Why is that and how do you get its backcolor property to…
ThN
  • 3,235
  • 3
  • 57
  • 115
4
votes
3 answers

WinForms ToolStrip not available in visual inheritence

Lets say I have FormChild inheriting FormParent. In parent, there is a toolstip at the top. What I want is in my child form to add extra elements, but the control is always locked, although I've set the modifiers to protected. I've checked the…
Denis Biondic
  • 7,943
  • 5
  • 48
  • 79
1
2
3
19 20