This is .net framework class which provides a container for Windows toolbar objects. This is used in creating toolbars in Winform application.
Questions tagged [toolstrip]
288 questions
2
votes
2 answers
toolStrip and statusStrip location
How I can achieve something like this?
I tried to set toolstrip dock to left
toolstrip dock to none
statusstrip dock to none

Square Ponge
- 702
- 2
- 10
- 26
2
votes
1 answer
Add a button to the left of a toolstrip
I have a ToolStrip object which has a few ToolStripButtons. I want to add a vertical button on the left side of this object. But since the ToolStrip is docked to the left, I can't seem to add anything on its left side.
Is there a way that this can…

Soul Slayer
- 297
- 1
- 6
- 17
2
votes
1 answer
how to open ToolStripMenuItem Window by moving mouse on ToolStripSplitButton
I have four ToolStripSplitButtons in a ToolStrip in one of my c# applications as shown here.
To open ToolStripMenuItem window I have to click on any of the four ToolStripSplitButtons. As opposed to it I only want to move my mouse(rather than…

kashif
- 3,713
- 8
- 32
- 47
2
votes
1 answer
Troubles with updating ToolstripDropdownButton after window loses focus
Let me start from a simple example to reproduce my problem:
Create WinForms project.
Drop a ToolStrip on it.
Make a ToolstripDropdownButton in it (with no children).
Add a click event-handler to the button, with something like…

Antenka
- 1,519
- 2
- 19
- 29
2
votes
0 answers
ToolStripButton Tooltip location is wrong
I have a ToolStrip that have a couple of ToolStripButtons with tooltips. When I highlight any of the buttons the tooltip shows just fine but its location is a bit far from the cursor.
I got no idea why is this happening and I tried to workaround it…

prettyvoid
- 3,446
- 6
- 36
- 60
2
votes
1 answer
How to avoid 3 pixel gap on left of ToolStrip in Winforms?
I'm using Windows 7 and Winforms/C#.
When I add a toolstrip to a toolstrip container, I get 3 pixels of space to the left of the toolstrip. Even if I set the location to 0,0, it resets it back to 3,0. Here is a picture to demonstrate this:
How can…

Dan W
- 3,520
- 7
- 42
- 69
2
votes
1 answer
.Net Toolstrip/MenuStrip Focus Issues
No matter what the scenario may be I'm able to recreate this annoying problem 100% of the time.
Create a .Net project, C# or VB.Net. Add a ToolStrip control to the form. Create a few simple DropDownButton(s) that contain at least 2 menu items. Add…

devHead
- 794
- 1
- 15
- 38
2
votes
1 answer
Locking a ToolStripContainer panel to only allow for one row of toolstrips
I want the ToolStrips to remain on one row, and for the user to be able to rearrange on that row but not create additional rows. I tried using SetBounds on the LocationChanged event, if the user attempted to change the Y position it just sprung…

Cyclone
- 17,939
- 45
- 124
- 193
2
votes
1 answer
ToolStripTextBox1.ScrollBars = Windows.Forms.ScrollBars.Vertical
Quick question.
Using VS2012, .net framework 4.5, VB on win7 x64.
Trying to create a message holder in my status bar, to display long exception messages when something goes wrong in my app.
I had an idea of using a ToolStripSplitButton and adding…

conanDrum
- 215
- 2
- 7
2
votes
3 answers
ToolStripManager not restoring Location of Toolstrips
ToolStripManager does not restore my Toolstrips to the previous locations as expected. I created a very simple app to demonstrate. I contains 4 movable Toolstrips in a ToolStrip Container. I move the toolstrips to order them as 4-3-2-1 from top to…

LT Dan
- 241
- 4
- 16
2
votes
1 answer
Add object other than string to ToolStripDropDownButton DropDownItem
It's easy to add strings to a ToolStripDropDownButton as a new DropDownItem. What I need is to add a custom object to the DropDownItems so that I can assign a key/value like object to the DropDownItem.
How may I achieve this?

Daniel
- 1,391
- 2
- 19
- 40
2
votes
2 answers
Invoking the click method of a button programmatically
Simple problem (I think): I want to be able to invoke a click method on a predefined object, specifically, the bindingNavigatorDeleteItem button on the standard c# BindingNavigator. I need to intercept the delete so that I can verify that the record…

Bruce
- 437
- 1
- 5
- 10
1
vote
3 answers
Change Toostrip Order
Im currently adding toolstrips from my seperate modules like:
this.toolStripContainer.TopToolStripPanel.Controls.Add(module.Instance.Toolbar)
Buy they are then in the order that the modules are loaded which isnt very good. Is there any way to…

Tim
- 7,746
- 3
- 49
- 83
1
vote
1 answer
Draggable ToolStrip controls inside an MDI form
I've got a .NET MDI (multiple document interface) application that I want to use draggable ToolStrip controls. I want the ToolStrip controls to be at the top of my MDI form (just under the menus). When I use the standard ToolStripContainer inside…

EverPresent
- 1,903
- 17
- 21
1
vote
1 answer
Readonly text box not allowing menuitem shortcut
I have a text box which is read only. I also have a tool strip menu item which has a short cut of Ctrl + R. When the focus is in the textbox the toolstrip menuitem shortcut no longer works.
I can intersect the key down event and check if the key…

Drew
- 421
- 8
- 16