Results 1 to 2 of 2

Thread: Menu Item Names

  1. #1

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536

    Menu Item Names

    I want to write the following code, but MenuItems do not appear to have a name property (although the IDE seems be able to find it).

    I don't want the Text property (e.g. &File), I want the name (e.g. mnuFile).

    Anybody got any ideas?


    VB Code:
    1. 'List the menu items.
    2.             Dim mnu As MenuItem
    3.             For Each mnu In MainMenu1.MenuItems
    4.                 Debug.Write(mnu.Name & vbCrLF)
    5.             Next mnu
    This world is not my home. I'm just passing through.

  2. #2

    Thread Starter
    Frenzied Member trisuglow's Avatar
    Join Date
    Jan 2002
    Location
    Horsham, Sussex, UK
    Posts
    1,536
    There's a property called LanguageIndependentName which is available in XP (but not in 2000).

    Can anybody help me with my 2000 code?
    This world is not my home. I'm just passing through.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width