vb 问题,Command_MouseMove事件
有四个按钮,两个是MouseMove事件(按钮1和2)当我将鼠标移到按钮1时相当于按下按钮3当我将鼠标移到按钮2时相当于按下按钮4这样的代码怎么写??????????要完...
有四个按钮,两个是MouseMove事件(按钮1和2)当我将鼠标移到按钮1时相当于按下按钮3当我将鼠标移到按钮2时相当于按下按钮4这样的代码怎么写??????????要完整
展开
1个回答
2014-01-11
展开全部
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call Command3_Click
End Sub Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call Command4_Click
End Sub
Call Command3_Click
End Sub Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Call Command4_Click
End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询