开发者

ToolStripStatusLabel DoubleClick does not work?

开发者 https://www.devze.com 2022-12-21 19:13 出处:网络
Does ToolStripStatusLabel DoubleClick ever work? Private Sub myToolStripStatusLabel_DoubleClick(ByVal sender As System.Object, _

Does ToolStripStatusLabel DoubleClick ever work?

Private Sub myToolStripStatusLabel_DoubleClick(ByVal sender As System.Object, _ 
    ByVal e As System.EventArgs) Ha开发者_JAVA技巧ndles myToolStripStatusLabel.DoubleClick
  MessageBox.Show("WORKING!")
End Sub

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


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


Found it!

Need to Enable the property DoubleClickEnabled=>True.

Similar situation with the TooltipText - > AutoToolTip=>True

0

精彩评论

暂无评论...
验证码 换一张
取 消