Pergunta

I want to get response from Form while pressed and holding a key,how do I do that ? I wrote code for 'OnKeyDown' but that works only once per press/

Foi útil?

Solução

You want OnKeyPress, not OnKeyDown.

KeyPress will continue to trigger as long as you hold the key down.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top