|
-
Sep 17th, 2003, 12:48 PM
#1
Thread Starter
Frenzied Member
catching function key strokes
hi all,
I want to catch the function key F3 when it is pressed on a textbox, I know the keypress event. it gives the ascii code for each key pressed but it give nothing when i press function key F3 or any F key.
I want to catch it when pressed to invoke a search list, can any1 help
Thx in advance
-
Sep 17th, 2003, 03:38 PM
#2
PowerPoster
you should learn to use the on-line help
Use KeyDown and KeyUp event procedures to handle any keystroke not recognized by KeyPress, such asfunction keys,editing keys, navigation keys, and any combinations of these with keyboard modifiers. Unlike the KeyDown and KeyUp events, KeyPress doesn't indicate the physical state of the keyboard; instead, it passes a character.
-
Sep 18th, 2003, 03:01 AM
#3
Thread Starter
Frenzied Member
resolved
thx very much, till a minute ago i didnt know the difference between keypress event and keyup, now i know
Thx are all to you
BST RGDS
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
|