判断是否按了回车键

210阅读 0评论2023-08-31 knife800
分类:Windows平台

Private Sub txt_dh_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = 13 Then
Call Command3_Click
End If
End Sub


Private Sub txt_dh_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Call Command3_Click
End If
End Sub
上一篇:Windows LTSC 版本
下一篇:IE11 降级