Menu Item Names

  • Thread starter Thread starter Paul Remblance
  • Start date Start date
P

Paul Remblance

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.enabled = True).
Or is there a better way to go?
Thanks,
Paul
 
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
 
Back
Top