急!急!急!keypress的使用方法

2024-12-30 19:19:31
推荐回答(1个)
回答1:

Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Text2 = Text1
Text1 = ""
Text1.SetFocus
End If
End Sub