Board index » delphi » Intercept Keyboard

Intercept Keyboard

I'm sure this has been posted before, but how can I intercept keyboard
presses and then either act on them and pass them on, or just pass them
on before the application sees them?

Thanks,  Terry

 

Re:Intercept Keyboard


Quote
>  I'm sure this has been posted before, but how can I intercept keyboard
>  presses and then either act on them and pass them on, or just pass them
>  on before the application sees them?

Set the keypreview to true and write a routine for
onkeyup, onkeydown or onkeypress whichever suites you best.

johan

Other Threads