Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:20:46+00:00 2026-06-08T22:20:46+00:00

I was following a tutorial for setting up menu shortcut keys, and have figured

  • 0

I was following a tutorial for setting up menu shortcut keys, and have figured out how to add them.
Now I’m thinking, well maybe ctrl+O is too tedious to display the openFile dialog. Or maybe the user is missing their ctrl keys (or never had any to begin with!)

So I want to add a dialog that allows users to customize the shortcut keys. It would likely involve a listview that grabs the list of all of the menubar options and a textbox for the actual shortcut they want to use.

  • Can this be done? I’m not sure if the shortcut keys can be modified dynamically.
  • Would I have to save the shortcut keys somewhere like in an external config file and change the way I am setting shortcut keys by reading from a file instead of setting it in the designer?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:20:47+00:00Added an answer on June 8, 2026 at 10:20 pm

    The shortcut keys can be set dynamically using the Shortcut Property. To do this, you would have to save the short cut keys to some kind of XML config file. When your application boots up, it should read in this XML file and then dynamically set the shortcut by setting the property that I linked you above!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been following this tutorial for setting up tabs in your application. http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
I'm following the NerdDinner tutorial for MVC and have a question about setting up
I have been following a tutorial on readdir(), is_dir() etc involved in setting up
Following the steps in this tutorial , the first item of Setting up with
http://www.codinghorror.com/blog/2008/04/setting-up-subversion-on-windows.html I am following this as a guide to install subversion. The tutorial at
I have created a listview using following tutorial link http://www.ezzylearning.com/tutorial.aspx?tid=1763429 Outcome of this is,
I need help, I followed the following tutorial on setting up my project. http://lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_NetBeans
I am setting up a GlassFish cluster following the guide at http://javadude.wordpress.com/2011/04/25/glassfish-3-1-clustering-tutorial/ . I
I'm following the tutorial on setting up WURFL with Zend Framework to enable easy
I was setting up a camera following this tutorial . My problem is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.