Results 1 to 3 of 3

Thread: [RESOLVED] Accelerator keys in menu - without Ctrl, Shift or Alt

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    350

    Resolved [RESOLVED] Accelerator keys in menu - without Ctrl, Shift or Alt

    I want to add accelerator keys to my menu.

    I want say "Report R" where if the user presses 'R' it will go to the Report menu.

    I can have "Report Ctrl+R" but I don't want the user to have to press "Ctlr" AND "R".

    Is this non standard and something I will have to program myself?

    Thanks

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Accelerator keys in menu - without Ctrl, Shift or Alt

    Quote Originally Posted by DavidGraham167 View Post
    I want to add accelerator keys to my menu.

    I want say "Report R" where if the user presses 'R' it will go to the Report menu.

    I can have "Report Ctrl+R" but I don't want the user to have to press "Ctlr" AND "R".

    Is this non standard and something I will have to program myself?

    Thanks
    In short - yes. It is highly non-standard. You would have to code it yourself... but to be honest, I wouldn't do it. I'd stick to a more traditional standard approach as that's what most users are going to expect.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3
    You don't want to know.
    Join Date
    Aug 2010
    Posts
    4,578

    Re: Accelerator keys in menu - without Ctrl, Shift or Alt

    Yes, it is non-standard, which means you'll also have to train your users to understand it.

    It's better to do what 30+ years of muscle-memory has taught them.
    This answer is wrong. You should be using TableAdapter and Dictionaries instead.

Tags for this Thread

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