Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Keyup Event 1

Status
Not open for further replies.

RebelFox

Programmer
Jun 16, 2002
62
0
0
GB
I have two questions about Keyup purely out of curiosity
and a bit of frustration after not being able to figure a few things out.

On a Keyup event you can grab the value of the key pressed
by Referring to the KeyEventArg :-

MessageBox.Show("The key pressed is " & e.KeyData)

The e.KeyData value is represented as a number.
How can I convert the Keydata value to the character.



Secondly, when would you use the Keup event anyway?


 
Try:

MsgBox(Chr(e.KeyCode))

in your KeyUp event.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top