Questions tagged [toolstripdropdown]

75 questions
1
vote
1 answer

Show toolbar via ToolStripDropDownButton.DropDownItems?

In my toolbar, I have a System.Windows.Forms.ToolStripDropDownButton where I want to show another toolbar. I managed to get it 'working' by adding my toolbar buttons to the DropDownItems collection: myToolbar.DropDownItems.AddRange(new…
l33t
  • 18,692
  • 16
  • 103
  • 180
1
vote
1 answer

Disabling visual styles for ToolStripDropDownMenu

I'm trying to prevent MenuStrip control to be affected by visual styles. So I've created simple form with simple menu strip and disabled visual styles in Main(): // Application.EnableVisualStyles(); <-- no visual…
LihO
  • 41,190
  • 11
  • 99
  • 167
1
vote
2 answers

How to eliminate the blue focus on ToolStripDropDownButton when mouse is above the control

I use ToolStripDropDownButton with Forecolor is white and Backcolor is trasparent. Text of "ToolStripDropDownButton" unreadable when mouse is above the control because "blue focus" is visible. How to eliminate/remove the "blue focus" on…
new bie
  • 2,745
  • 6
  • 24
  • 26
0
votes
0 answers

Is it possible to increase up and down arrow button size in ToolStrip Dropdown?

Is it possible to increase size of up and down arrow buttons? I can't seem to find an option to increase the size of arrow buttons.
0
votes
2 answers

Mouse cursor disappears when textbox at ToolStripDropDown editing

I have a user control with RichTextBox and two buttons on it. I'm trying to show that at ToolStripDropDown on ToolStripButton click. I'm using ToolStripControlHost to put my control at ToolStripDrowDown. When I click ToolStripButton at form toolbar,…
mao
  • 1,364
  • 3
  • 14
  • 26
0
votes
1 answer

C#: ToolStripDropDown doesn't Dispose/DestroyHandle

I'm using the ToolStripDropDown to show up an selectionpopup. The ToolStripDropDown contains a few custom controls with running Threads. The Threads ends with the OnHandleDestroyed event, but for some reason the ToolStripDropDown doesn't…
Wowa
  • 1,791
  • 1
  • 14
  • 24
0
votes
0 answers

PrimeNg P-dropdown Get and Set Value Details?

1.I need an Explanation about, when I select the value at the time my JSON value does not set the corresponding selection. 2.Binding of [optionLabel] & optionLabel doubt? https://stackblitz.com/edit/angular-ljsuim?file=src%2Fapp%2Fapp.component.html
S.Anitha
  • 171
  • 1
  • 1
  • 7
0
votes
0 answers

How to use the different size images based on current DPI scaling in ToolStripItem?

I need to change the image size based on DPI scaling. In my project, i'm using "ToolStripDropDownItem" with images. I'm having different size images for 100DPI and 175 DPI. In 100 DPI (12 * 12 image is using), its working fine. In 175 DPI, i'm…
0
votes
2 answers

about toolStripDropDownButton

I have a form. I've added the strip down button using drag and drop in the form. How can I (in the program) create and fill the toolStripMenu Item? My menu could contain different element...with different names.
elisa
  • 743
  • 2
  • 13
  • 31
0
votes
1 answer

How to print names of all menuitems in C#?

I am new to programming. I need to get a list of ALL menuItems (ToolStripMenuItems) including Dropdown menuitems. I found some codes, but it list Main Menu Items only, No Dropdown menuItems. Can you give me a suitable code for list ALL menuItems. …
Dilhan
  • 1
  • 1
0
votes
1 answer

How to create a ToolStripDropDownButton?

I want to create a ToolStripDropDownButton which looks like the below image But when I tried to search for ToolStripDropDownButton control in the Toolbox I was unable to find it because, after some googling, I found out that it is a class not …
Agent_Spock
  • 1,107
  • 2
  • 16
  • 44
0
votes
0 answers

Programmatically create a ToolStripDropDown

How can I programmatically create a ToolStripDropDown in a winform project ? I want to associate this item to a TextBox (showing last entries) and it appears when clicking on a Button. It should be on the red line : Edit : I actually have : Class…
A.Pissicat
  • 3,023
  • 4
  • 38
  • 93
0
votes
1 answer

ToolstripMenuItem Click raise an error?

Recently added Toolstrip to my C# Application , and there is error when click on menu item that call the function but when call the function from Windowsform Button it works perfect. following is my function: private void ShowAddDocument(object…
franchesco totti
  • 582
  • 1
  • 7
  • 28
0
votes
1 answer

How to show custom control as a drop down window?

I want to show my custom control(eg: monthcalendar) as a drop-down (popup) window. One option is to use ToolStripDropDown and ToolStripControlHost as the second example in msdn example. My doubt is: ToolStripDropDown should be used for ToolStrip…
Kaizen
  • 219
  • 2
  • 17
0
votes
0 answers

Which event is fired when I navigate to any other application in my PC?

I have a Custom Control of following type in .NET C# Winforms public partial class AutoSuggestPopupList : ToolStripDropDown { } It has got all its properties and methods. I am using it with a ListBoxControl and a textbox/combobox. It is used in…
Vandita
  • 708
  • 4
  • 13