Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to fire specfied hot key on Form Keydown?

How to fire specfied hot key on Form Keydown?

Scheduled Pinned Locked Moved Visual Basic
helptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mdrizwan_1
    wrote on last edited by
    #1

    Hello, I want to display menu list on specified hot key such as 'ALT + S'.But i m unable to get key combination.as i press Alt the keydown event is fire it does not accept combination .Please help . 'Keypreview = true'.

    I 1 Reply Last reply
    0
    • M mdrizwan_1

      Hello, I want to display menu list on specified hot key such as 'ALT + S'.But i m unable to get key combination.as i press Alt the keydown event is fire it does not accept combination .Please help . 'Keypreview = true'.

      I Offline
      I Offline
      i i i
      wrote on last edited by
      #2

      If its Menu then in menu you can specify the Short key by just setting the Values , you dont need to do anything

      Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

      T 1 Reply Last reply
      0
      • I i i i

        If its Menu then in menu you can specify the Short key by just setting the Values , you dont need to do anything

        Best Regards, SOFTDEV If you have knowledge, let others light their candles at it

        T Offline
        T Offline
        TheComputerMan
        wrote on last edited by
        #3

        Just wondering if the keypreview is causing the problem. I never use it but unless it is handled correctly it could zap the key combination as far as the menu is concerned. Just set Alt+S on your menu hotkeys

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups