怎么消除上一个循环中用户的KEY?
这一段程序是放在FORM的Private Sub Form_KeyPress(KeyAscii As Integer)中,
Case 1
If NowPlayer = 1 And InEnter Then
Select Case KeyAscii
Case 49, 50, 51, 52, 53, 54, 55, 56 '分别点击6张图
imgB_Click (KeyAscii - 48)
Case 13 '按键盘回车确认
InEnter = False
labPass_Click (1) '点确认 <====注意此处
End Select
End If
用户有时会多按了几下回车,造成此段程序在多次执行,有什么好办法能清除掉上一次的按键信息?