Results 1 to 3 of 3

Thread: [RESOLVED] How do I assign a keyboard shortcut to a menu item?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    626

    Resolved [RESOLVED] How do I assign a keyboard shortcut to a menu item?

    Does tB's IDE provide a menu editor, like VB6, where I can assign keyboard shortcuts for menu items? For example, I want to assign CTRL-S to a Save menu item. I'm not seeing it.
    Last edited by AAraya; Jul 31st, 2024 at 09:06 AM.

  2. #2
    Lively Member
    Join Date
    Jul 2017
    Posts
    67

    Re: How do I assigne a keyboard shortcut to a menu item?

    Not yet implemented.



    Might be one you need to edit in VB6 for now. Or edit the form file manually. In VB6 it looks like:


    Code:
       Begin VB.Menu mnuTestMenu 
          Caption         =   "TestMenu"
          Begin VB.Menu mnuTestSubMenu 
             Caption         =   "TestSubMenu"
             Shortcut        =   ^D
          End
       End

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2011
    Location
    Palm Coast, FL
    Posts
    626

    Re: How do I assigne a keyboard shortcut to a menu item?

    Thanks! You know, I never noticed the property page for the menu. I guess I'm so used to the VB6 paradigm that I was never expecting that.

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