471,616 Members | 1,780 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,616 software developers and data experts.

Menu hot-keys don't underline

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
Nov 21 '05 #1
4 5362
"Tom Edelbrok" <an*******@anonymous.com> schrieb
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

Nov 21 '05 #2
You are a true genius!

Tom




"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
"Tom Edelbrok" <an*******@anonymous.com> schrieb
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

Nov 21 '05 #3
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.
---
http://code.box.sk
nemo me impune lacessit

*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #4
"Tom Edelbrok" <an*******@anonymous.com> schrieb:
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>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Marek Mand | last post: by
6 posts views Thread by tuxedo | last post: by
1 post views Thread by Andrus | last post: by
1 post views Thread by XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.