Making ToolbarStripButton pressed like VB6

jdy0803

Well-known member
Joined
Sep 9, 2012
Messages
73
Location
Santa Clarita
Programming Experience
10+
How to make ToolbarStripButton pressed when I click like VB6's Toolbar button?
Even though click it, button is not pressed.
 
A ToolStripButton does give visual indication of being clicked, in all display styles.
There is also CheckOnClick which makes it behave like a toggle button to stay 'depressed' when checked, if that is what you mean.
 
VB.NET ToolbarStripButton's visial indication is just thick frame line when I click it.
I want to make button pressed when I mouse down.
And it should be up when mouse up.
Is it possible?
 
Given that, by default, a ToolStripButton doesn't look like a regular Button to begin with, i.e. it doesn't look 3D, it can't possibly give the impression of being "down" or "up". If you want that then you must change the appearance of the ToolStripButton altogether, which would require that you created your own renderer, which is not a trivial task. The simpler alternative might be to use a ToolBar component instead of a ToolStrip. It has the older look and feel by default that you seem to be looking for.
 
Back
Top