Menus and short cut keys

G

Grumpy Aero Guy

If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in my
example under the letter "F" in "File" and "x" in "Exit") are NOT visible by
default.

After hitting Alt-F, you THEN see the appropriate underscores....but it
seems to imply that you need to know, ahead of time, what the top level
short cut strategy is.....

Thus, a user will not see the shortcut strategy on the top level of the menu
visible with the form.

What am I overlooking ?

Thank you in advance for any input.
 
S

Shiva

Hi,

It is a Windows settting: Open Control Panel | Display. On the Appearnace
tab click Effects button and on the resulting dialog, uncheck 'Hide
underlined letters for keyboard...' and click OK.

HTH

If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in my
example under the letter "F" in "File" and "x" in "Exit") are NOT visible by
default.

After hitting Alt-F, you THEN see the appropriate underscores....but it
seems to imply that you need to know, ahead of time, what the top level
short cut strategy is.....

Thus, a user will not see the shortcut strategy on the top level of the menu
visible with the form.

What am I overlooking ?

Thank you in advance for any input.
 
H

Herfried K. Wagner [MVP]

Grumpy Aero Guy said:
If I create a MainMenu control on a form, and include short cut keys:

(i.e. &File , E&xit )

and run the app, the shortcut functionality Alt-F-X opens the menus and
works, but in the default state of the running form, the underscores (in
my example under the letter "F" in "File" and "x" in "Exit") are NOT
visible by default.

After hitting Alt-F, you THEN see the appropriate underscores....

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

Grumpy Aero Guy

Vielen Dank....

Immer was neues und anderes !!!!!

--


Frank Bachman
(Grumpy Aero Guy)
 

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