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

  • Home
  • SEARCH
  • 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 225505
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:25:13+00:00 2026-05-11T19:25:13+00:00

I am writing a winforms application and one of the functions is to open

  • 0

I am writing a winforms application and one of the functions is to open an item’s properties. I’m not able to find out how to handle this. A menu item doesn’t allow to define such a keyboard shortcut and implementing the handler manually with the keyup or keypress event handlers doesn’t work either. Anyone out there who knows how to do this?

  • 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-05-11T19:25:13+00:00Added an answer on May 11, 2026 at 7:25 pm

    I think Thomas is correct, you must use a ToolStripMenuItem. Adding the following line to my .designer file worked like a champ:

    this.fileProperties.ShortcutKeys = System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.Enter;
    

    The keystroke works and the string Alt + Enter is displayed on the menu item.

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

Sidebar

Related Questions

On this winform application I am writing, I want to secure one menu item
I'm working on re-writing a WinForms application into Silverlight. One use case in the
I'm writing a WinForms application and one of the tabs in my TabControl has
I am writing WinForms application, and so far it contains 37 forms. This is
I'm writing a WinForms application that sends email messages (like a mail merge). I'd
I'm writing a winforms application in C# (.NET 4.0, using EntityFramework). I wanted to
I am writing a .NET WinForms application that needs to display a list of
I am writing a simple WinForms application in which I allow the user to
I am writing WCF service hosted in WinForms application. Is there some way to
I find that writing web apps and WinForm apps generally come out a lot

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.