Questions tagged [toolstripbutton]

68 questions
0
votes
2 answers

Automation of ToolStrip Button Click Issue

I'm trying to automate a windows form application using vb.net. I do not have the source code for the program I would like to automate. With Spy++, so far I've been using handles for buttons and have been clicking buttons without an issue. However,…
0
votes
1 answer

How do I set a toolstriptextbox accept button to call a function which a toolstripbutton calls?

I have a TextBox in my winforms. When a user starts typing in it I will like to set the AcceptButton property to call another function. However it is calling another function which is called by a Button in my ToolStrip. To elaborate, here is my code…
floormind
  • 1,868
  • 5
  • 31
  • 85
0
votes
2 answers

ToolStripButton have different behavior on showing Modal Less Dialog

I have a main window and a toolstrip on it with different command buttons. In these commands, I've a 'Print' button too (See Below). When I click on 'Print' button , I need to show sub-form as Modal Less Dialog. Because, I've few option on sub-form.…
Itz.Irshad
  • 1,014
  • 5
  • 23
  • 44
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

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

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

Really strange ToolStripButton event problem

I am making a CustomControl based on a ToolStripButton control, I am trying to know when the mouse is Hover the button to draw it differently. Here is a quick view of my code : private bool m_IsHover = false; ... protected…
Karnalta
  • 518
  • 1
  • 9
  • 24
-1
votes
2 answers

Need a Font Selector for Winforms ToolStrip

I can quickly create a list of the installed Fonts (Takes a long time to load the fonts into the TabStripDropDownButton by the way), but I would rather have a ToolStrip button that shows the FontDialog. Anyone know of a opensource or commerical…
Keith Franklin
  • 473
  • 1
  • 6
  • 13
1 2 3 4
5