title: Why don't I get hotkey underlines in a Delphi TMainMenu
body: <p>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:</p>
  
  <pre><code>&amp;File | &amp;Edit | Ev&amp;aluate | ...
  </code></pre>
  
  <p>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</p>
  
  <pre><code>  &amp;File
    &amp;New ...
    &amp;Open ...
  </code></pre>
  
  <p>the underline is shown as expected.</p>
  
  <p>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.</p>
  
  <p>If I create a new VCL appliation and just add a TMainMenu and a few menu items, it works as expected.</p>
  
  <p>This has me baffled, really.</p>
  
  <p>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?</p>