Results 1 to 3 of 3

Thread: catching function key strokes

Hybrid View

  1. #1

    Thread Starter
    Frenzied Member maged's Avatar
    Join Date
    Nov 2002
    Location
    Egypt
    Posts
    1,040

    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

  2. #2
    PowerPoster
    Join Date
    Aug 2001
    Location
    new jersey
    Posts
    2,904
    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.

  3. #3

    Thread Starter
    Frenzied Member maged's Avatar
    Join Date
    Nov 2002
    Location
    Egypt
    Posts
    1,040

    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
  •  



Click Here to Expand Forum to Full Width