题目内容:
窗体上有一个命令按钮,执行程序后,在按钮上单击鼠标左键的输出结果为______,在按钮上单击鼠标右键的输出结果为______。
Private Sub Command1_Click()
Print"B":
End Sub
Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Print"A":
End Sub
参考答案:
窗体上有一个命令按钮,执行程序后,在按钮上单击鼠标左键的输出结果为______,在按钮上单击鼠标右键的输出结果为______。
Private Sub Command1_Click()
Print"B":
End Sub
Private Sub Command1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Print"A":
End Sub