Frage

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/

War es hilfreich?

Lösung

You want OnKeyPress, not OnKeyDown.

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top