Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27512

VS 2010 [RESOLVED] ToolStripButton Question

$
0
0
When clicking a ToolStripButton on a Windows.Forms.ToolStrip--if the form does not have focus--the click event wont fire on the first click. I have to click it a second time for the click event to fire. It appears that the first click brings focus to the form and that enables the click event in the ToolStripButton. Other windows apps don't appear to behave like that e.g. Visual Studio.

My question: Is there anyway around this so that the first click sets focus to the form and fires the click event for the button?

Viewing all articles
Browse latest Browse all 27512

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>