Hi
Well basically I want to do move a control via arrow keys, I did this however the keydown event doesnt really work with this type of scenario, anyways I found some code which does the job
However I have no idea how to call it to be usedCode:Protected Overrides Function ProcessCmdKey(ByRef msg As Message, _ ByVal keyData As Keys) As Boolean Select Case keyData Case Keys.Up 'do whatever....up arrow pressed bHandled = True Case Keys.Down 'do whatever....down arrwo pressed bHandled = True End Select Return bHandled End Function![]()




Reply With Quote