|
-
May 7th, 2001, 05:19 PM
#1
Keyboard Control
For some reason i cannot get VB to recognise my direction arrows on the keyboard???
anyone know the best way to do this?
i have tryed most methods i know.
-
May 7th, 2001, 05:32 PM
#2
Re: Keyboard Control
In the control MouseDown or MouseUp event write something like the following... I think it should work.
Select Case KeyCode
Case vbKeyUp
' do something
Case vbKeyDown
' do something
Case vbKeyLeft
' do something
Case vbKeyRight
' do something
Case else
' do something
End Select
HTH
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|