更多"编写如下两个事件过程: Private Sub Form_KeyDo"的相关试题:
[单项选择]编写如下两个事件过程:
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. Panel
B. Frame
C. Applet
D. Dialog
[单项选择]编写如下两个事件过程:
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
B. a
C. A
D. 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