That actually did work... thanx!
Do I need to keep it working in the whole Windows Form or can I use
SendKeys.Send("{DOWN}") anywhere in the program? Like, I only what this to
happens in the grids!
/Lars
"BrianDH" <Br*****@discussions.microsoft.com> skrev i meddelandet
news:62**********************************@microsof t.com...
Try this:
Protected Overrides Function ProcessCmdKey(ByRef msg As
System.Windows.Forms.Message, ByVal keyData As System.Windows.Forms.Keys)
As Boolean Select Case msg.WParam.ToInt32()
Case 13 ' enter Key
SendKeys.Send("{DOWN}")
Return True
End Select
Return MyBase.ProcessCmdKey(msg, keyData)
B
"Lars Netzel" wrote:
Hi, hope anyone can help me with this!
I want the Enter button to let me move to the next row but in the same
column sorta like in MS Excel
Any ideas?
best regards
/Lars