Results 1 to 3 of 3

Thread: [RESOLVED] Hot-Keys

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2006
    Location
    Ithaca, NY
    Posts
    145

    Resolved [RESOLVED] Hot-Keys

    I need to make a few hot-keys for my form. I need them to work no matter what control is active and I don't want to have to make an event method for each control to handle a keypress so how do I make a universal hot-key for it?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Hot-Keys

    Set the form's KeyPreview property to True and it will receive keyboard events before its controls.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2006
    Location
    Ithaca, NY
    Posts
    145

    Re: Hot-Keys

    Thanks

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