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
17
votes
3 answers

StatusStrip label not visible when text too long

I have a StatusStrip docked to the bottom of a C# Form, it contains a label, the text in it displays fine, except when there is longer length of text then it does not display at all, and I have to widen the form and then all of a sudden it appears.…
Ahmed
  • 14,503
  • 22
  • 92
  • 150
17
votes
5 answers

How do I make cross-threaded calls to a ToolStripStatusLabel?

I tend to use a StatusStrip at the bottom of most of my applications for simple status updates and occasionally a progress bar. However, it appears ToolStripStatusLabels do not inherit from control, so they have no .Invoke, or .InvokeRequired. So…
Maslow
  • 18,464
  • 20
  • 106
  • 193
15
votes
3 answers

How to remove this strange visual artifact in the corner of ToolStrip Winforms control?

Here is the picture that shows the problem. Take a look at the bottom right corner. Anyone knows how to get rid of it? Setting LayoutStyle to VerticalStackWithOverflow fixes it but also centers the items horizontally which I don't want. I just want…
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
15
votes
4 answers

How to disable the line under tool strip in winform c#?

this line ?     
monkey_boys
  • 7,108
  • 22
  • 58
  • 82
12
votes
1 answer

What's the deal with the ToolStrip's RenderMode property?

I never quite understood what this property was designed for. I can see that it visibly changes the design of the toolstrip and I find that setting it to System on Windows XP makes it fit much better with the WinForms style. Is there some deeper…
Paul Beesley
  • 767
  • 2
  • 10
  • 22
12
votes
5 answers

ToolStrip sometimes not responding to a mouse click

I have a .NET 2.0 WinForms application with a ToolStrip on my main form. Sometimes, the ToolStrip icons don't respond to the first mouse click, so I have to click the icon twice. It's just a standard ToolStrip with several icons and tooltip texts, I…
user20353
  • 1,293
  • 4
  • 15
  • 28
12
votes
4 answers

Anchor ToolStripProgressBar to right of StatusBar(StatusStrip)

I have a form with a statusbar that has 2 ToolStripStatusLabels followed by a ToolStripProgressBar. I want the progressbar to be always anchored to the right of the statusbar - so when the window is resized/maximized, it should automatically…
IM.
  • 663
  • 2
  • 6
  • 15
11
votes
3 answers

ToolStrip Rounded Corners

I am working on a Windows Form app (C#, .NET 4.0, VS 2010), where I have a pretty standard MainForm with a ToolStrip (GripStyle: Hidden, Dock: Top, RenderMode: ManagerRenderMode). The toolstrip contains a few basic items (ToolStripLabel,…
FOR
  • 4,260
  • 2
  • 25
  • 36
10
votes
5 answers

Check only one ToolStripMenuItem

I have a ToolStrip with multiple ToolStripDropDownButtons, each has a set of DropDownItems. When the user clicks on an DropDownItem, the check mark is shown. By default, multiple items can be clicked and therefore multiple check marks appear. What…
Isuru
  • 30,617
  • 60
  • 187
  • 303
8
votes
1 answer

Is there a WPF equivalent for ToolStripButton?

I'm learning WPF and have been trying to create a toolstrip. Is there a direct equivalent of the WinForms ToolStripButton or is the correct way of use just to add a normal button and format it? I've found that Microsoft have a page that lists…
GrandMasterFlush
  • 6,269
  • 19
  • 81
  • 104
8
votes
4 answers

Toolstrip with check button group

I'd like to have a toolstrip with some buttons on it (WinFroms/c#/.net4). I'd like to have the clicked button be checked and all others unchecked, so I want to have only the clicked button checked, all the others unchecked. I know toolstrip button…
Tom
  • 3,899
  • 22
  • 78
  • 137
8
votes
3 answers

Is it possible to change ToolStripMenuItem tooltip font?

I have a dynamically filled ContextMenuStrip where each ToolStripMenuItem has a formatted text for the tooltip. And, in order for this text to make sense to the user, I must use a monospaced font, such as "Courier New". The default font is a…
ElyaSh
  • 502
  • 2
  • 4
  • 13
8
votes
2 answers

How to make a ToolStrip button immediately clickable without clicking on the form first?

I have a windows forms app with a toolstrip that contains buttons. Frustratingly, I have to click twice on any button to get it to fire when the form isn't focused. The first click seems to activate the form, and then second click clicks the button…
ChaseMedallion
  • 20,860
  • 17
  • 88
  • 152
8
votes
4 answers

Showing a tooltip on a non-focused ToolStripItem

ToolStripItems show Active highlighting when you mouse over them, even if the form they are in is not in focus. They do not, however, show their tooltips, unless the form is focused. I have seen the ToolStrip 'click-though' hack. Anyone know…
foson
  • 10,037
  • 2
  • 35
  • 53
7
votes
1 answer

Getting WinForms menus and toolbars to use the system theme?

Is there a way to get WinForms controls MenuStrip and ToolStrip to rendering using the current system theme? Normally the WinForms MenuStrip and ToolStrip controls have a RenderMode property, which points to a class that handles the…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
2 3
19 20