Results 1 to 3 of 3

Thread: Loose the keystrokes

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    I have an app that is nothing more than a few option buttons that runs and pauses a serial device. The app sits on top of other software on the same computer.

    The problem is...

    If someone doesn't realize that my app is the active window and presses an arrow key it toggles through the option buttons.

    What I want to do is remove the keystroke command before it changes the option button.
    Kurt Simons
    [I know I'm a hack but my clients don't!]

  2. #2
    Hyperactive Member
    Join Date
    Jan 1999
    Location
    Rotterdam, Netherlands
    Posts
    386
    Try the keydown event of the form (set keypreview to true) and set the keycode to 0 in that event.
    If that doesn't help, drop a picturebox on the form and give that the focus.
    Hope this helps

    Crazy D

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2000
    Location
    Manchester NH
    Posts
    833
    I thought I did put a picture box on the form (I must have put it in a frame or something)

    Thanks
    Kurt Simons
    [I know I'm a hack but my clients don't!]

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