ContextMenu Underline Missing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

All,

I have defined a ConextMenu to appear within a TextBox.
I added the ampersand to text of menuitem as "&Hello".
The underline appears in the resource editor however when I run the windows
form and right click in the text box the uderline does not appear.

Does anyone know how t have the underline appear.

Thanks,
Scott
 
Scott said:
I have defined a ConextMenu to appear within a TextBox.
I added the ampersand to text of menuitem as "&Hello".
The underline appears in the resource editor however when I run the
windows
form and right click in the text box the uderline does not appear.

Does anyone know how t have the underline appear.

Press the Alt key. This behavior has been introduced in Windows 2000.
 
Hi Herfried,

Pressing the Alt key causes the ContextMenu to disappear.
Pressing the Alt key prior to popping up the ContextMenu does not work either.
 
Back
Top