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

Activate tool strip click event from another form

I need to send a click event to refreshToolStripMenuItem from another form. Here is what I have, for some reason it doesn't work. Help please. Menu item click: public void refreshToolStripMenuItem_Click(object sender, EventArgs e) { …
user1763295
  • 860
  • 3
  • 16
  • 34
0
votes
1 answer

c# - PrintPreviewDialog: What is the name of the toolstrip to get it through reflection

I would like to know what is the correct name of the printpreviewdialog's toolstrip to get it through reflection. I want to know the correct name to use from windows xp, vista and seven. I do no know if its name is Windows version dependant.…
Willy
  • 9,848
  • 22
  • 141
  • 284
0
votes
1 answer

Reset 'keyboard cues' in ToolStrip

We display a sub-dialog from a cell of our grid control. The dialog contains a ToolStrip with items with ampersands to quickly access them from the keyboard. All works fine: we can press ALT to show those keyboard cues, and/or issue such keystrokes…
TecMan
  • 2,743
  • 2
  • 30
  • 64
0
votes
1 answer

SmartGWT add the same member several times to a Layout

I have a grid and I need to add just before and just after it 2 links. They are the same, they just need to be visible both above and below the grid. I put them in a ToolStrip and add the ToolStrip as a member of a VLayout twice. The thing is that…
Bubolina
  • 141
  • 2
  • 16
0
votes
1 answer

How do I use an item that's a child of a toolstrip item?

Ok, so this is somewhat confusing, so bear with me. I have a toolStrip item called "Downloads". When (and this is 100% random) a new item is added (it occurs when a website that I have no control over). I want to be able to read every item in the…
Jon
  • 2,566
  • 6
  • 32
  • 52
0
votes
1 answer

ToolStrip TextBox Colour

I have set up a ToolStrip in my C# WinForms project and have added a TextBox on it. I'm just curious whether it is normal that the TextBox is barely visible due to the colour of the ToolStrip and TextBox. I could put a border around it or change…
hshah
  • 842
  • 4
  • 14
  • 35
0
votes
2 answers

how to create event on variable toolstrip menu item C#

I have produced some code to display each printer installed and online in a menu item. But I can not figure how to raise an event when the menu item is clicked. I removed the code where I obtain the printernames because thats not relevant…
2pietjuh2
  • 879
  • 2
  • 13
  • 29
0
votes
2 answers

Do I need to call dispose on ToolStripPanel, ToolStrip, and ToolStripItems?

I build a ToolStripPanel in code where I add a ToolStrip and subsequently add several ToolStripButtons and ToolStripSeparators. Do I need to manually go through and remove and/or call dispose on each of these? That is, loop through the buttons and…
User
  • 62,498
  • 72
  • 186
  • 247
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

Failure to show toolstrip

I am attempting to add a simple toolstrip however I can't get it to show up on the screen here is all the code pertaining to it. Did I leave anything out? Field: protected ToolStrip _commandToolStrip = new ToolStrip(); In the Constructor …
jth41
  • 3,808
  • 9
  • 59
  • 109
0
votes
1 answer

Focus on toolstrip button vb.net

I created a toolstrip with some buttons. I have a form with some objects (like textbox,checkbox,button etc.) and when i get the focus on last item,when i finish to compile i need with tab on keyboard to get focus on save button on the toolstrip. Can…
Arkhan
  • 1
  • 1
  • 3
0
votes
0 answers

C++/CLI Windows Forms ToolStrip application fails with error CLR20r3, privacy issue?

I have this problem while developing with Windows Forms and C++/CLI. My application will work as long as I don't insert a button in the ToolStrip (Labels and others are ok). I presume that it has something to do with the requirement of the tool…
Alexandru Chirila
  • 2,274
  • 5
  • 29
  • 40
0
votes
1 answer

ToolStripSplitButton Customization

Does anyone know how I can move the 'Split' portion of a ToolStripSplitButton to the bottom of the button instead of the side?
Matt
  • 2,619
  • 1
  • 17
  • 14
-1
votes
1 answer

C# | How to get all child items of ToolStrip?

I need to get any child item of ToolStrip/MenuStrip/StatusStrip for translate the texts. I did it with Controls by simple recursion but I don't know how to do that with ToolStrip items because there is not DropDownItems property in ToolStripItem…
user6466445
  • 11
  • 1
  • 5
-1
votes
1 answer

C# ToolStrip System.StackOverflowException was unhandled

I use toolstrip to control show PDF document. But I has key down or anything about keyboard. My application show error message : [System.StackOverflowException was unhandled] [An handled exception of type 'System.stackOverflowException' occurred…
Siwakorn.Apichit
  • 357
  • 6
  • 19
1 2 3
19
20