Menu Stirp

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?dHJhY2t0b3I=?=

    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?
  • Peter Duniho

    #2
    Re: Menu Stirp

    On Mon, 09 Jun 2008 15:46:00 -0700, tracktor
    <tracktor@discu ssions.microsof t.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

    Comment

    • =?Utf-8?B?dHJhY2t0b3I=?=

      #3
      Re: Menu Stirp

      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
      <tracktor@discu ssions.microsof t.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
      >
      >

      Comment

      • Peter Duniho

        #4
        Re: Menu Stirp

        On Mon, 09 Jun 2008 16:15:01 -0700, tracktor
        <tracktor@discu ssions.microsof t.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

        Comment

        Working...