Menu hot-keys don't underline

T

Tom Edelbrok

I've added a MainMenu control to my VB.NET project and typed in various
items such as &File, &Exit, &Help, &About, etc.

The menu works fine, including hot-keys such as <ALT>F for "File", etc, but
the hot-key character doesn't get underlined at run-time. It does however
show as underlined at design time. How can I make the F in File, the H in
Help, and so on to be underlined at run-time as well as design time?

Thanks in advance,

Tom
 
A

Armin Zingler

Tom Edelbrok said:
I've added a MainMenu control to my VB.NET project and typed in
various items such as &File, &Exit, &Help, &About, etc.

The menu works fine, including hot-keys such as <ALT>F for "File",
etc, but the hot-key character doesn't get underlined at run-time.
It does however show as underlined at design time. How can I make
the F in File, the H in Help, and so on to be underlined at run-time
as well as design time?

Control panel -> Settings -> 4th folder -> button "effects": uncheck last
option


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
C

c j anderson, mcp

this is the default behavior in Win 2000, XP, and Server 2003.

to change it, use the Display Control Panel's Effects tab (2000) or the
Effects Button on the Appearance tab (XP, 2003)

Cheers.
 
H

Herfried K. Wagner [MVP]

Tom Edelbrok said:
I've added a MainMenu control to my VB.NET project and typed in various
items such as &File, &Exit, &Help, &About, etc.

The menu works fine, including hot-keys such as <ALT>F for "File", etc,
but the hot-key character doesn't get underlined at run-time. It does
however show as underlined at design time. How can I make the F in File,
the H in Help, and so on to be underlined at run-time as well as design
time?

Showing the keyboard navigation indicators
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=showaccelerators&lang=en>
 

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