[单选题]

有如下事件过程:

Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)

If (Button And 3) =3 Then

Print "OK"

E.nd If

E.nd Sub

程序运行后,为了在窗体上输出“OK”,应当按下的鼠标键是

A.左键

B.右键

C.同时按下左键和右键

D.按什么键都不显示

参考答案与解析:

相关试题

有如下事件过程:Private Sub Form_KeyDown(KeyCode

[单选题]有如下事件过程: 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(KeyCod

    [单选题]有如下事件过程。Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)If (Button And 3)=3 ThenPrint "OK"E.nd IfE.nd Sub程序运行后,为了在窗体上输出"OK",应当按下的鼠标键是A.左键B.右键C.同时按下左键和右键D.按什么都不显示

  • 查看答案
  • 编写如下事件过程: Private Sub Form_keyDown(KeyCo

    [单选题]编写如下事件过程:Private Sub Form_keyDown(KeyCode As Integer,Shift As Integer)Print Chr(KeyCode)E.nd SubPrivate Sub Form_Keypress(KeyAscii As Integer)Print Chr(KeyAscii)E.nd Sub在一般情况下(即不按住Shift键和锁定大写键时) 运行程序,若按"T"键,则程序输出的结果是A.T TB.t TC.T TD.t t

  • 查看答案
  • 编写如下事件过程:Private Sub Form_KeyDown(KeyCod

    [单选题]编写如下事件过程:Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)Print Chr(KeyCode)E.nd SubPrivate SubForm_KeyPress(KeyAscii As Integer)Print Chr(KeyAscii)E.nd Sub在一般情况下(即不按住“Shift”键和锁定大写键时) 运行程序,若按“T”键,则程序输出的结果是AA.T TB.t TC.T tD.t t

  • 查看答案
  • 编写如下事件过程:Private Sub Form_KeyDown(KeyCod

    [单选题]编写如下事件过程: 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.按什么键都不显示

  • 查看答案
  • 编写如下事件过程:Private Sub Form_KeyDown(KeyCod

    [单选题]编写如下事件过程: 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 (KeyC

    [单选题]编写如下事件过程: Private Sub Form_KeyDown (KeyCode As Integer,Shift As Integer) Print Chr(KeyCode) End Sub Private Sub Form_Key Press (KeyAscii As Integer) Print Chr (Key Ascii) End Sub 在一般情况下(即不按住Shift键和锁定大写键时)运行程序,若按“T”键,则程序输出的结果是A.T TB.t TC.T TD.t t

  • 查看答案
  • 编写如下事件过程:Private Sub Form_KeyDown(KeyCod

    [单选题]编写如下事件过程: 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(KeyCo

    [单选题]编写了如下事件过程: 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.按鼠标键没有反应

  • 查看答案
  • 编写如下事件过程:<br />Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)<br />Print

    [单选题]编写如下事件过程:Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)Print

  • 查看答案
  • 有如下事件过程:Private Sub Form_KeyDown(KeyCode