-
肥皂起泡泡
MouseMove是鼠标移过控件时的事件,好比你添加了个Command,当你的鼠标从Command上移过时,会触发MouseMove,当然,如果只是在其他位置移动鼠标,并不会触发该控件的MouseMove事件!
-
HUX布斯
鼠标移动到button控件上,触发该控件的MouseMove事件和MouseEnter事件。按钮样式会变化要通过按钮的属性来改变。
-
幕布斯7119047
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)写你要的事件End Sub
-
明月笑刀无情
代码如下。======Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)MsgBox "你的鼠标移动到按钮上了"End Sub