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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top