单选题
VF
题号 #490095
将窗体的KeyPreview属性设置为True,然后编写如下事件过程:
Private Sub Form_KeyDown(KeyCode As Integer,Shift As Integer)
Print Chr(KeyCode)
End Sub
Private Sub Form KeyUp(KeyCode As Integer,Shift As Integer)
Print Chr(KeyCode+32)
End Sub
程序运行后,如果按“A”键,则输出结果为( )
参考答案
A
答案解析
暂无解析
你可能感兴趣的试题
A.Shift
B.Alt
C.Ctrl
D.CapsLock
A.MouseDown
B.MouseUp
C.MouseDown
MouseUp
MouseUp
D.MouseUp
MouseDown
MouseDown