填空题 VB
题号 #151203

把窗体的KeyPreView属性设置为True,并编写如下两个事件过程: 
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)  
   Print KeyCode 
End Sub 
Private Sub Form_KeyPress(KeyAscii As Integer)  
   Print KeyAscii 
End Sub 
程序运行后,如果按下B键,则在窗体上输出的数值是 【12】 和 【13】 。  

进入在线模考

参考答案

暂无

答案解析

正确答案:  1.(66) 2.(98)  

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考