|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
INKEY$ QBasic equivalent in VB?
INKEY$ QBasic equivalent in VB?
Does any body know how I can detect the press of the arrow keys(up, down, left, right :rolleyes in VB? And as soon as they are pressed a certain thing like something is printed or something...I've seen INKEY used in QBasic which holds the last key pressed. Any idea? |
|
#2
|
||||
|
||||
|
Hook to the Form's KeyDown, KeyUp or KeyPress event. Hope this helps
![]()
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Visual Basic Programming > INKEY$ QBasic equivalent in VB? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|