How could i make my program check if keys are pressed down when the form/program is selected?
Printable View
How could i make my program check if keys are pressed down when the form/program is selected?
try setting the KeyPreview-property of the form to TRUE.
keyboard events will trigger the KeyDown/ -Press/ -Up-Events then...
:D
I Made a typo I Ment when the form /porgram isn't selected. :(