ContextMenu Underline Missing

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
 
H

Herfried K. Wagner [MVP]

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top