Me.KeyPreview = True
Private Sub F12_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = 123 Then
tlFrmMainSearchAs.Focus()
End If
End Sub
F12键按下后光标Focus到某TextBox
最新推荐文章于 2024-08-12 14:12:12 发布