单选题
VB
题号 #3275334
VB中有3个键盘事件:KeyPress、KeyDown、KeyUp,若光标在Textl文本框中,则每输入一个字母( )。
参考答案
A
答案解析
当用户按下某键时触发KeyDown和Key.Press事件,放开某键时触发KeyUp事件。故每输入一个字符,这3个事件都会触发。故A选项正确。
你可能感兴趣的试题
A.Forml—MouseDown
B.Win_MouseDown
C.Form_MouseDown
D.MouseDown_Forml
A.Private Sub Pl MouseMove(Button As Integer,Shift As Integer,X As Single,Y As single)Print X.YEnd Sub
B.Private Sub Pl一MouseDown(Button As Integer,Shift As Integer,X As Single,Y As Single)Picture.Print X,YEnd SUb
C.Private SUb Pl一MouseMove(Button As Integer,Shm As Integer,X As Single,Y As Si.gle)P1.Print X,YEnd Sub
D.Private Sub Form_MouseMove(Button As Integer,Shift As Integer,X As Single,Y As Single)P1.Print X,YEnd Sllb