Enter代替Tab键

    技术2022-05-19  26

    先将Form的KeyPreview改为True

    Private Sub Form_KeyPress(KeyAscii As Integer) If KeyAscii = 13 Then KeyAscii = 0 SendKeys "{Tab}" End If End Sub

     


    最新回复(0)