编写如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Buuon And 3)=3 Then Print "AAAA"

admin2010-03-30  37

问题 编写如下事件过程:    Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)        If(Buuon And 3)=3 Then            Print "AAAA"        End If    End Sub    程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为 ______。

选项 A、左
B、右
C、同时按下左、右
D、按什么键都不显示

答案8

解析 从题目中的程序可以看出,(Button And 3)=3这个条件是永假的,所以输出语句也永远不会被执行。
转载请注明原文地址:https://kaotiyun.com/show/phmp777K
0

最新回复(0)