单选题
VB
题号 #151353
有如下事件过程,当同时按下转换键Shift和功能键F5时其最后输出的信息是
Const ShiftKey=1
Const CtrlKey=2
Const Key_F5=&H74
Const Key_F6=&H75
Private Sub Text1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode=Key_F5 And Shift=ShiftKey Then
Print "Press Shift+F5"
ElseIf KeyCode=Key_F6 And Shift=CtrlKey Then
Print "Press Ctrl+F6"
End If
End Sub( )。
参考答案
B
答案解析
暂无解析
你可能感兴趣的试题
A.DownUpClick
B.ClickDownUp
C.DownClickUp
D.UpDownClick
A.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowOpen
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowOpen
End Sub
B.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowFont
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowFont
End Sub
C.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.Show
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.Show
End Sub
D.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowColor
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowColor
End Sub
A.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowOpen
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowOpen
End Sub
B.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowFont
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowFont
End Sub
C.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.Show
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.Show
End Sub
D.Private Sub Command2_Click()
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowColor
End Sub
CommonDialog1.DialogTitle= "新时代"
CommonDialog1.ShowColor
End Sub