判断是否按了回车键
(2023-08-31 14:48:33)分类: VB程式 |
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
前一篇:WindowsLTSC版本
后一篇:Word预览正常打印乱码