A
Alfred
Hi
I am trying to change over from access to vb.net. If I want to increase a
value I used the following in Access. How can I change it to vb.net.
Example if I press the up arrow the value in the control must increase by
one.
Public Sub UpDownKey(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyUp
KeyCode = 0
Screen.ActiveControl = Screen.ActiveControl + 1
Case vbKeyDown ' Minus key
KeyCode = 0
Screen.ActiveControl = Screen.ActiveControl - 1
End Select
End Sub
Thanks for help
Alfred
I am trying to change over from access to vb.net. If I want to increase a
value I used the following in Access. How can I change it to vb.net.
Example if I press the up arrow the value in the control must increase by
one.
Public Sub UpDownKey(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyUp
KeyCode = 0
Screen.ActiveControl = Screen.ActiveControl + 1
Case vbKeyDown ' Minus key
KeyCode = 0
Screen.ActiveControl = Screen.ActiveControl - 1
End Select
End Sub
Thanks for help
Alfred