how not to allow muliple keystokes received at one key press?

Posted by Untopronor on Stack Overflow See other posts from Stack Overflow or by Untopronor
Published on 2010-03-22T08:25:56Z Indexed on 2010/03/22 8:31 UTC
Read the original article Hit count: 245

Filed under:
|
|

when we press a key and keep pressing it the keypress and keydown event continuously fires. Is there a way to let these fire only after a complete cycle ,eg keydown and then key up.

I would like the user not to be able press the key continuously rather would like the user have to press then release the key board to type a character !

so that following case do not occur eg : pppppppppppppppppppppppp when user presses 'p' for 1 sec.

© Stack Overflow or respective owner

Related posts about c#

Related posts about keyboard