views:

291

answers:

1

I am using VS2008 and creating forms. By default, the underscore of the character in a textbox when using an ampersand is not shown when I run the application.

ex. "&Goto Here" is not underlining the G until I press the ALT key.

Is there a way to have this underline the text that I put an ampersand in front of when the form/application starts instead of having to have the user press the alt key?

Thanks!

+5  A: 

This is a desktop setting in Windows.

Right click the desktop, go to Properties, then click the Appearance tab, and then click the Effects button. You should see the setting for "Hide underlined letters for keyboard navigation until I press the Alt Key"

There are similar settings for Vista and 7 that you can set.

These are, however, individual desktop settings (and this one, sadly, is the Windows installation default).

Raj More
It is called "Hide underlined letters for keyboard navigation until I press the Alt Key".
Marcel Gosselin
@Marcel Gosselin: Thank you. I corrected it as well.
Raj More