473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Menu Stirp

I have Visual Studio.Net 2005 I have created a project and have added a menu
strip control with menu items File and Help. In the text I have typed &File
and &Help respectively to add the accelerator key so to underline the letters
F and H, and the letters are underlined in the design view. but when I run
the program the letters are not underlined. What am I not doing?
Jun 27 '08 #1
3 1142
On Mon, 09 Jun 2008 15:46:00 -0700, tracktor
<tr******@discussions.microsoft.comwrote:
I have Visual Studio.Net 2005 I have created a project and have added a
menu
strip control with menu items File and Help. In the text I have typed
&File
and &Help respectively to add the accelerator key so to underline the
letters
F and H, and the letters are underlined in the design view. but when I
run
the program the letters are not underlined. What am I not doing?
You don't have your Windows settings configured to show the underline.
Most likely, they will appear when you press the Alt key; the default
setting is for them to only show up then.

If it bothers you, you can change the setting so that the underlines are
always there. I don't recall exactly where the setting is, but Google
should be able to help you find an appropriate "Windows user" forum where
that information can be found.

Pete

Jun 27 '08 #2
Peter,

You are right. But I am curious, the menu items on all of my programs are
not underlined unless I press Alt, but on Microsoft Word they are always
visible. Do you know why that is?

"Peter Duniho" wrote:
On Mon, 09 Jun 2008 15:46:00 -0700, tracktor
<tr******@discussions.microsoft.comwrote:
I have Visual Studio.Net 2005 I have created a project and have added a
menu
strip control with menu items File and Help. In the text I have typed
&File
and &Help respectively to add the accelerator key so to underline the
letters
F and H, and the letters are underlined in the design view. but when I
run
the program the letters are not underlined. What am I not doing?

You don't have your Windows settings configured to show the underline.
Most likely, they will appear when you press the Alt key; the default
setting is for them to only show up then.

If it bothers you, you can change the setting so that the underlines are
always there. I don't recall exactly where the setting is, but Google
should be able to help you find an appropriate "Windows user" forum where
that information can be found.

Pete

Jun 27 '08 #3
On Mon, 09 Jun 2008 16:15:01 -0700, tracktor
<tr******@discussions.microsoft.comwrote:
Peter,

You are right. But I am curious, the menu items on all of my programs are
not underlined unless I press Alt, but on Microsoft Word they are always
visible. Do you know why that is?
Word doesn't use the built-in menu system. You don't say which version of
Word you're looking at, but it's possible there's a setting in Word that
controls whether the underlines exist. But the discussion is definitely
not about C# or .NET now, so if you want more information, it's probably
better to seek it in a newsgroup that pertains to the use of Word. :)

Pete
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dr. zoidberg | last post by:
Hello, I'm creating simple menu. MySQL: +----+-----+----------------------+ | id | sid | Title | +----+-----+----------------------+ | 1 | 0 | Main Menu 1 | 2 | 0 | Main Menu 2 | ...
1
by: Macamba | last post by:
Hi all, I am currently developing a website for a voluntary organisation. It is my first step in website development. The dynamic menu I developed has some bugs, which I addressed in another...
2
by: Jackson Yap | last post by:
can someone kind enough to help me look at the attached html and js file? Why is it that the javascript menu could not work at www.apchosting.net but could work at...
1
by: Anthony | last post by:
Below is a script I found at http://javascript.internet.com/ for a cascading menu. The script works great but there is one thing that I would like modified. BecauseI am just learning javascript,...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.