Y yogi Registered User. Local time Today, 12:09 Joined Mar 26, 2007 Messages 47 Apr 13, 2007 #1 I would like to have a event for the left and right arrow keys, does anyone know how to do this?
ColinEssex Old registered user Local time Today, 17:09 Joined Feb 22, 2002 Messages 9,451 Apr 13, 2007 #2 Not too sure - it may be "KeyDown" - check it on help Col
Y yogi Registered User. Local time Today, 12:09 Joined Mar 26, 2007 Messages 47 Apr 13, 2007 #3 that won't work because any key that you press it will execute that event
R RoyVidar Registered User. Local time Today, 18:09 Joined Sep 25, 2000 Messages 805 Apr 13, 2007 #4 Yes, but when you just do the following if keycode = vbkeyleft then ' do the left code keycode = 0 ' cancel the key? end if if keycode = vbkeyright then ' do the right code keycode = 0 ' cancel the key? end if
Yes, but when you just do the following if keycode = vbkeyleft then ' do the left code keycode = 0 ' cancel the key? end if if keycode = vbkeyright then ' do the right code keycode = 0 ' cancel the key? end if
rainman89 I cant find the any key.. Local time Today, 12:09 Joined Feb 12, 2007 Messages 3,015 Apr 13, 2007 #5 youd have to put it in the "keypress" and find the key codes for both the left and right arrows