执行下列程序后,鼠标单击窗体,输出结果为。  Private Sub Form_Click()   Print“Click”;  End Sub  Private Sub Form_MouseDown(Button As Integer,Shift_   

admin2013-04-11  31

问题 执行下列程序后,鼠标单击窗体,输出结果为。  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(Button As Integer,Shift_         As Integer,X As Single,Y As Single)     Print“Up”  End Sub

选项 A、DownUpClick
B、ClickDownUp
C、DownClickUp
D、UpDownClick

答案1

解析 鼠标单击时,依次引发MouseDown、MouseUp、Click事件,即Click事件包含鼠标按下和放开事件。
转载请注明原文地址:https://kaotiyun.com/show/0zQp777K
0

最新回复(0)