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 404105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:16:40+00:00 2026-05-12T17:16:40+00:00

In a Delphi 2007 program I am using a TMainMenu referencing actions in a

  • 0

In a Delphi 2007 program I am using a TMainMenu referencing actions in a TAction list. I have prefixed the hotkeys of all main captions with an ampersand:

&File | &Edit | Ev&aluate | ...

In design view these hotkeys are underlined as I would expect, but when I start the program they no longer are underlined but they work nonetheless. In contrast to this, for all the submenu icons

  &File
  &New ...
  &Open ...

the underline is shown as expected.

I am aware of the Windows pisplay properties option “Hide underlined letters or keyboard navigation until I press the Alt key.” and have disabled it. In all other programs this works fine, including the Delphi IDE.

If I create a new VCL appliation and just add a TMainMenu and a few menu items, it works as expected.

This has me baffled, really.

Is there any property of the TMainMenu component or maybe an application option that I must change? The “Enable runtime themes” project option is grayed out for some reason, might that be the problem? If yes, what causes 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-12T17:16:40+00:00Added an answer on May 12, 2026 at 5:16 pm

    The easiest way to fix this problem seems to use TJvMainMenu from the jvcl instead of TMainMenu. I tried the current version 3.38, but it is possible that the problem was fixed already in earlier versions. Since I was using the jvcl anyway it does not add much to my program’s size. Your mileage may vary though, the jvcl is a huge library.

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

Sidebar

Related Questions

I have got a DLL and a program, both written with Delphi 2007. The
I have a simple Delphi (2007) procedure that given a TDataSet and a (sub)list
I have a DLL compiled in Delphi 2007 and an example using it in
I have a Delphi 2007 Program, which calls a Delphi 2010 DLL. The Program
HI I'm using Delphi 2007 and have set the MainFormOnTaskBar property to true. The
I'm using Delphi 2007 and I have this case: { CommonUnit.pas } type //
I have a Windows CGI created with Delphi 2007 using CGIExpert that I need
My Delphi program relies heavily on Outlook automation. Outlook versions prior to 2007-SP2 tend
I have had Delphi 2007 for a while. I tried the Delphi 2009 trial.
I'm working in Delphi 2007. Net, where I can find an example of using

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.