Menu Item Names

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul Remblance

    #1

    Menu Item Names

    Menu Class: I am trying to build a menu system where the user menu options
    are authorised via a database. My first thoughts are to store the menu item
    (name) in the database so I can point to the menu item. Is it possible to
    retrieve the collection of menu names (i.e. mnuFileExit) and then use that
    collection to enable/disable each item? (i.e. mnuFileExit.ena bled = True).
    Or is there a better way to go?
    Thanks,
    Paul


  • Cor Ligthert [MVP]

    #2
    Re: Menu Item Names

    Paul,

    The menuitem.name does not exist in net 1.1 in 2.0 there is the
    toolstripmenu with the name

    However in net 1.1 is in my opinion the tag of a menu item a very good
    replacement for what you ask.

    I hope this help

    Cor


    Comment

    Working...