17

Does ToolStripStatusLabel DoubleClick ever work?

Private Sub myToolStripStatusLabel_DoubleClick(ByVal sender As System.Object, _ 
    ByVal e As System.EventArgs) Handles myToolStripStatusLabel.DoubleClick
  MessageBox.Show("WORKING!")
End Sub

Only Click works. DoubleClick does not even if Click is present or not.

serhio
  • 28,010
  • 62
  • 221
  • 374
  • Where are you double-clicking, is it on a panel or the toolstrip status label or even on the toolstrip itself?....try double-clicking on the label itself.... Hope this helps, Best regards, Tom. – t0mm13b Mar 04 '10 at 16:40
  • I doubleClick on the label itself. Only Click works – serhio Mar 04 '10 at 16:41

2 Answers2

40

That class has a DoubleClickEnabled property which is, by default, false. You'll need to set it to true in the properties window.

Jacob G
  • 3,645
  • 1
  • 20
  • 25
2

Found it!

Need to Enable the property DoubleClickEnabled=>True.

Similar situation with the TooltipText - > AutoToolTip=>True

serhio
  • 28,010
  • 62
  • 221
  • 374