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
0
votes
1 answer

Add a second toolbar to the existing toolbar

C# WinForms: I have a static toolbar that is always on my form. but sometimes for example when user selects a command from a menu, I wish to have a second toolbar that is getting added to the right hand side of my static toolbar. How can I…
Bohn
  • 26,091
  • 61
  • 167
  • 254
0
votes
3 answers

SourceControl of ContextMenuStrip is Nothing in ToolStripMenuItem Click?

I have single ContextMenuStrip attached to more controls. In use the Opening event of ContextMenuStrip to filter/disable some context entries. In this case the property ContexteMenuStrip.SourceControl is set correctly. The problem I have is on the…
Drake
  • 8,225
  • 15
  • 71
  • 104
0
votes
1 answer

Toolstrip tablelayout style

using c# 2008 winforms. I may be missing something obvious here, but can anyone help me out with using tablelayout style in a toolstrip. I was expecting it would be similar to using a tablelayout control in the designer, and being able to use the…
Spooky2010
  • 341
  • 1
  • 8
  • 21
0
votes
1 answer

Is there a way through the Visual Studio IDE to move buttons between ToolStrips?

I have multiple ToolStrips with buttons on my form. I'd like to move some buttons from one ToolStrip to another. However, the Visual Studio IDE is not allowing me to drag the buttons off of a ToolStrip. I could go and edit the designer file for the…
Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
0
votes
0 answers

Resources.resx modification leads to toolStrip problems

In my project a have an toolStrip element which behaves strange after modification in Resources.resx file. Doesn't matter what I do: add a new bitmap, delete old bitmap, change Display style of dropdown buttons... Every time I got error messages and…
MCv
  • 118
  • 1
  • 10
0
votes
1 answer

ToolStripMenuItem: Add arrow without submenu

How can I add a menu item that has an arrow to the right as if there would be a submenu but does not show a submenu? Background: For a managed C# application I want to add a submenu which is created in an unmanaged DLL (using TrackPopupMenu()). In…
divB
  • 896
  • 1
  • 11
  • 28
0
votes
1 answer

Handle tab key in ToolStripComboBox

I have a ToolStripComboBox in a ToolStrip, and when I press TAB key in it, it gives focus to the next toolstrip button. I would like to change this behavior and give focus to a richtextbox on my form instead. The problem is that ToolStripComboBox…
Jiri
  • 264
  • 4
  • 17
0
votes
1 answer

C# run time customization of ToolStrip

With Microsoft Visual Studio 2008, is there any native .NET functionality which allows for user customization of a Tool Bar? I.e., after the application is running, allowing the user to right click on the toolbar and select some form of a…
Scott
  • 5
  • 1
  • 2
0
votes
1 answer

Converting ToolBar to ToolStrip control and MouseHover not working

I have a large winform application which we working to modify the appearance. I am replacing System.Windows.Forms.Toolbar to System.Windows.Forms.ToolStrip control. I use a custom renderer to change dropdown arrow color. with default renderer i get…
Sakthivel
  • 1,890
  • 2
  • 21
  • 47
0
votes
2 answers

ToolstripButton remain focused in an MDI Form

I have a MDI Form that is MDI Container, a ToolStrip Bar with some buttons and a child form. On child form there is a third's part component for draw like CAD application. If I click on a ToolStripButton to start draw something, button remains in a…
hyperzone
  • 51
  • 7
0
votes
1 answer

ToolStripComboBox events not firing

I have a ToolStripComboBox on a ToolStrip, then my application is minimized to tray and ShowInTaskBar is set to false. After that my application is bring back to normal state. From this moment ToolStripComboBox will not fire any events.…
puch4tek
  • 151
  • 1
  • 4
0
votes
0 answers

Winforms toolstrip has weird thing

I've been making a program using Winforms in C#. I was using Toolstrips when I noticed there's a weird black thing on the right side of the toolstrip. As you can see, there's a black line on the right side of the toolstrip. Any ideas what that is…
Ilan
  • 513
  • 2
  • 8
  • 24
0
votes
2 answers

How to create an Image object from an Icon for use with ToolStripStatusLabel items

I need to be able to set an icon on a ToolStripStatusLabel item in a C# Windows Forms application. The item will being displaying an image and text. I assumed that I could use an Icon with such an item but I am mistaken. What is the best way of…
Plastikfan
  • 3,674
  • 7
  • 39
  • 54
0
votes
0 answers

WinForms ToolStrip change font size automatically

I have a ToolStrip control docked to the top of a Windows Form. Throughout the program, I have the font sizes on controls not specified so that they inherit from the base form. That way I can set the font size larger when the user selects "Large…
DavGarcia
  • 18,540
  • 14
  • 58
  • 96
0
votes
1 answer

Disable the hover effect of a toolstrip in Visual Studio

I have created an icon based navigation in my C# application. I have used a toolstrip to do so but I want to get rid of the hover effect. I can't seem to find anything in the properties or the code and I'm using winforms Thanks in advance
Lori
  • 1
  • 1