disable a key after pressing it

  • 14 years ago

    hi there i need to kust need to know the code how to disable a key after pressing it... it is for the hangman game with keyboard support.. once the player have pressed it on the keyboard he won't be able to press the key anymore

    can someone show me the code.. pls i am really in big trouble coding it but i can't figure it out...

  • 14 years ago

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Measuring programming progress by lines of code is like measuring aircraft building progress by weight.” - Bill Gates