prive sub enter clicked vb

The solution for “prive sub enter clicked vb” can be found here. The following code will assist you in solving the problem.

Private Sub Form_PreviewKeyDown(ByVal sender As System.Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) Handles Form.PreviewKeyDown
If e.KeyCode = Keys.Enter Then

‘code here

End If
End Sub

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts