Domanda

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/

È stato utile?

Soluzione

You want OnKeyPress, not OnKeyDown.

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top