|
-
Nov 2nd, 1999, 09:10 AM
#1
Thread Starter
Member
how would i determine which key is pressed in a textbox
the KeyDown event recieves the keycode of the key, however control and right control return the same number, as do alt and right alt, shift and right shift, and enter and num enter.
what i am trying to do is, when a key is pressed, display the name of the key. when a key is pressed, say spacebar, the word 'Space' appears in the textbox. works fine, but the above mentioned keys must be treated differently.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|