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/

有帮助吗?

解决方案

You want OnKeyPress, not OnKeyDown.

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top