单选题 VB
题号 #144595

把窗体的KeyPreview属性设置为True,然后编写如下事件过程  
Private Sub Form_KeyPress(KeyAscii As Integer)  
 Dim ch As String  
  ch = Chr(KeyAscii)  
   KeyAscii = Asc(UCase(ch))  
 Print Chr(KeyAscii + 2)  
End Sub  
程序运行后,按键盘上的“A”键,则在窗体上显示的内容是( )。 

进入在线模考

参考答案

C

答案解析

暂无解析

你可能感兴趣的试题

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