[填空题] 把窗体的KeyPreview属性设置为True,并编写如下两个事件过程:
Private Sub Form_KeyDown (KeyCode As Integer,Shift As Integer)
Print Chr(KeyCode)
End Sub
Private Sub Form_KeyPress(KeyAseii As Integer)
Print KeyAscii
End Sub
程序运行后,如果将CapsLock 键锁定在大写的状态,这时按下A键时,则:在窗体上输出的输出结果为 【10】 和 【11】 。
参考答案:
[10] A [11] 65问题解析:
解析无

![[填空题] 把窗体的KeyPreview属性设置为True,并编写如下两个事件过程: Private Sub Form_KeyDown (KeyCode As Integer,Shift As In [填空题] 把窗体的KeyPreview属性设置为True,并编写如下两个事件过程: Private Sub Form_KeyDown (KeyCode As Integer,Shift As In](http://www.mshxw.com/aiimages/31/253713.png)
