更多"编写如下事件过程:Private Sub Form_ KeyDown("的相关试题:
[单项选择]有如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Button And 3)=3 Then Print"OK" End If End Sub 程序运行后,为了在窗体上输出“OK”,应当按下的鼠标键是
A. 左键
B. 右键
C. 同时按下左键和右键
D. 按什么都不显示
[单项选择]编写如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Button And 3)=3 Then Print "AAAA" End If End Sub 程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为 ______。
A. 左
B. 右
C. 同时按下左、右
D. 按什么键都不显示
[单项选择]编写如下事件过程: Private Sub Form_KeyDown(KeyCode AS Integer,Shift As Integer) If(Button And 3)=3 Then Print "AAAA" End If End Sub 程序运行后,为了在窗体上输出“AAAA”,应按下的鼠标键为______。
A. 左
B. 右
C. 同时按下左、右
D. 按什么键都不显示
[单项选择]编写如下事件过程:
Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)
Print Chr(KeyCode)
End Sub
Private SubForm_KeyPress(KeyAscii As Integer)
Print Chr(KeyAscii)
End Sub
在一般情况下(即不按住“Shift”键和锁定大写键时) 运行程序,若按“T”键,则程序输出的结果是
[单项选择]编写了如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As lnteger) If(Button And 3)=3 Then Print“AAAA” End lf End Sub 程序运行后,为了窗体上输出“AAAA”,应按下的鼠标键是
A. 左
B. 右
C. 同时按下左和右
D. 按鼠标键没有反应
[单项选择]编写了如下事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) If(Button And 3)=3 Then Print "AAAA" End If End Sub 程序运行后,为了在窗体上输出"AAAA",应按下的鼠标键是
A. 左
B. 右
C. 同时按下左和右
D. 按鼠标键没有反应
[单项选择]编写如下两个事件过程: Private Sub Form_KeyDown (KeyCode As Integer,Shift As Integer) Print Chr(KeyCode) End Sub Private Sub Form_KeyPress(KeyAscii As Integer) Print Chr(KeyAscii) End Sub 在一般情况下(即不按住“Shift”键和锁定大写键时)运行程序,如果按“A”键,则程序输出的结果是
A. A A
B. a A
C. A a
D. a a
[单项选择]编写如下两个事件过程:Private Sub Form_KeyDown(KeyCode AS Integer,Shift As Integer) Print Chr(KeyCode)End SubPrivate Sub Form_KeyPress(KeyAscii As Integer) Print Chr(KeyAscii)End Sub在一般情况下(即不按住Shift键和锁定大写键时)运行程序,如果按"A"键,则程序输出的结果是
A. A A
B. a A
C. A a
D. a a
[单项选择]编写如下两个事件过程: Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer) Print Chr(KeyCode) End Sub Private Sub Form_KeyPress(KeyAscii As Integer) Print Chr(KeyAscii) End Sub 在一般情况下(即不按住Shift键和锁定大写键),运行程序,如果按“A”键,则程序的输出是
A. A A
B. a A
C. A a
D. a a