VB里的mousemove事件举例
来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/17 11:17:33
VB里的mousemove事件举例
在VB里,举一个利用mousemove引发的事件.就是想知道这个mousemove事件是怎么用的!
在VB里,举一个利用mousemove引发的事件.就是想知道这个mousemove事件是怎么用的!
mousemove事件就是鼠标在对象上移动
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Cls
Print "鼠标在按钮上移动" & Now
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Cls
Print "鼠标在窗体移动" & Now
End Su
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Cls
Print "鼠标在按钮上移动" & Now
End Sub
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.Cls
Print "鼠标在窗体移动" & Now
End Su