Questions tagged [toolstripdropdown]

75 questions
0
votes
0 answers

Tool strip menu button image size varies when changing

I have items that are added to a dropdown menu, upon selecting one of the items, the main button changes to that items image. However once changed, the images vary in size, when they should be holding a size of 24, 24. Is there a way to set the…
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
0 answers

ToolStripDropDown transparent background and smooth Region

I'm trying to create a custom popup window in my winforms project, which looks like so: The problem with this is that the edges are smooth... I'm achieving this like so: public partial class BubblePopup : ToolStripDropDown { private const int…
Igor Meszaros
  • 2,081
  • 2
  • 22
  • 46
0
votes
1 answer

Winforms: How to emulate AutoClose with a ToolStripDropDown

I'm currently writing a ComboBox where I replace the suggestion dropdown with my own. For this I create a ToolStripDropDown which I fill with a listbox. This listbox is updated as the user types text in the combobox text field. My problem is that if…
Serge Weinstock
  • 1,235
  • 3
  • 12
  • 20
0
votes
0 answers

How to increase size of horizontal scroll button in Toolstripmenuitem

I have a Toolstripmenuitem similar to what is shown in this image: I'm trying to figure out how to make the overflow scroll at the bottom and top larger so that it is easier to click?
0
votes
0 answers

C# how to locate ToolStripDropDown in both screens

I want my combobox to strech ToolStripDropDown through both screens if my item is too long. Currently, show (int x, int y) is used and it shows the item on one screen or the other depending on how far it is from the left side of the first screen.…
0
votes
1 answer

insert menu items in ascending order and vertically in Toolstripmenuitem

I have a inserted items in the toolstripmenuitem control successfully. But i am not able to rearrange items as shown below :- For ex :- Currently Items are added in toolstripmenuitem like below fashion:- aa bb cc dd ee ff gg hh But i want like this…
user2691432
  • 93
  • 1
  • 2
  • 10
0
votes
2 answers

How do I close a toolstripmenuitem that is set to autoclose = false?

I have a menu of items that the user can toggle. I wanted the menu to stay open so the user can check all the items they want. I set autoclose = false and now that works great. However, I also cannot close the window now lol. I tried clicking…
0
votes
2 answers

C# - set string as an EnumValue

I have a ToolStripMenu with several ToolStripDropDownButtons. Those dropDownButtons have ToolStripMenuItems on themselves (sub buttons). I need to set visibility permission and the issue is that a user may have permissions only for some tsMenuItems…
Leron
  • 9,546
  • 35
  • 156
  • 257
0
votes
1 answer

ToolStripMenuItem Clear Method - will it remove also subitems?

Will myStrip.DropDownItems.Clear() remove also SubItems? mystrip - Item1 - SubItem1 - AnotherSubItem1 - Item2 After Clear() method will it be just: mystrip or mystrip - NOTHING HERE - SubItem1 -…
sczdavos
  • 2,035
  • 11
  • 37
  • 71
0
votes
1 answer

Setting ToolStripDropDown.DropShadowEnabled to false on multi level dropdowns

I want to disable the dropdown shadow on the dropdown of a ToolStripDropDownButton. If the dropdown menu contains items that have dropdowns themselves (e.g. multi-level menu) then setting the DropShadowEnabled to false on the ToolStripDropDownButton…
Tamas Pataky
  • 353
  • 4
  • 16
0
votes
1 answer

Cancel ToolStripDropDownButton dropdown

I need to programmatically cancel the dropdown of a ToolStripDropDownButton in the DropDownOpening event. However I cannot figure out a way to achieve this.
Daniel
  • 1,391
  • 2
  • 19
  • 40
0
votes
1 answer

How can I get a ToolStripDropDownButton to align to the right edge of a StatusStrip?

I don't see a likely property on either the StatusStrip or the ToolStripDropDownButton - other than the Alignment property of the ToolStripDropDownButton, which doesn't help. Will I have to add "shims"/spacers or some such to elbow the…
0
votes
1 answer

ToolStrip with ToolStripDropDownButton inside looks weird

I have two versions of a Windows Forms Application and can't figure for the life of me how to get a particular GUI behavior to be the same without copying the entire code (which is an obvious no-no). Here is a visual comparison: The left one is the…
dario_ramos
  • 7,118
  • 9
  • 61
  • 108
0
votes
1 answer

How to make ToolStripDropDownButton items font bold?

I'm trying to format ToolStripDropDownButton items btn1.DropDown.ForeColor = Color.Gray; //this works btn1.DropDown.Font.Bold = true; //this doesn't work. Please, help.
Alegro
  • 7,534
  • 17
  • 53
  • 74
1 2 3 4
5