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!

keypress ascii

Status
Not open for further replies.

bantakiah

Programmer
Oct 1, 2006
48
ID
how to know the key press of left,right...,F1,F2... Insert, Delete, tab, ect except worsd or number
 
These keys don't fire KeyPress event. Use KeyDown or KeyUp events instead and look for the KeyCode parameter in KeyCodeConstants in Object Browser.
 
You can get Key info from the KeyUp and KeyDown events. These return the KeyCode. Values returned by KeyCode are listed in the Object Browser (F2) under KeyCodeConstants

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Sorry - got distracted in the middle of typing!

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
No problem John, it happens to all of us from time to time. I just wonder at the amusing similarity of our posts. [smile]
 
It's quite hard to get MANY different answers to some questions! [smile][smile]

___________________________________________________________
If you want the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
Steam Engine Prints
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top