GR
gruu
September 18, 2007 11:35 AM UTC
Hi Ben,
It's working fine when I use SendKeys.SendWait() methos instead of SendKeys.Send() method. Here is the code snippet,
Private Sub NumericUpDown1_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles NumericUpDown1.KeyPress
If e.KeyChar = ChrW(Keys.Return) Then
SendKeys.SendWait("{TAB}")
e.Handled = True
End If
End Sub
Please let me know if its working for you.
Good Luck