VB鼠标Click事件求助?
PrivateSubForm_Click()Print"Click";EndSubPrivateSubForm_mouseDown(ButtonAsInteger,Shi...
Private Sub Form_Click()
Print "Click";
End Sub
Private Sub Form_mouseDown(Button As Integer,Shift
As Integer, X As Single, Y As Single)
Print "Donw"
End Sub
Private Sub Form_MouseUp(ButtonAsInteger,Shift
As Integer, X As Single, Y As Single)
Print "Up"
End Sub
为什么运行结果是 DnowUpClick
不是按顺序ClickDonwUp吗 展开
Print "Click";
End Sub
Private Sub Form_mouseDown(Button As Integer,Shift
As Integer, X As Single, Y As Single)
Print "Donw"
End Sub
Private Sub Form_MouseUp(ButtonAsInteger,Shift
As Integer, X As Single, Y As Single)
Print "Up"
End Sub
为什么运行结果是 DnowUpClick
不是按顺序ClickDonwUp吗 展开
3个回答
展开全部
想象一下罩铅岩如果自己定义click事物御件该怎么说?click event一定是MouseDown然后再MouseUp之后才会激键完整形成的阿
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
Down表袭枯梁示按下; Up表示松开; Click表示点击拍运败森; 有时候刚按下, 又觉得不对,移开鼠标再松开就相当于没点; 所以运行结果是 Click在Up之后.
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询