Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable menu items (of MDI) in VB5

Status
Not open for further replies.

bnath001

Programmer
Aug 18, 2000
100
US
Hi,

I have an MDI form. When the user logs into my application by typing UID and PWD (which is a small popup form), depending on the access rights to the user I need to disable some menu items of my MDI form .

I have created some menu items on MDI form. How can I disable/enable the menu items. I am able to access the menu items by saying "frmMDI.mnuFile" but there is not disable/enable method .

could someone let me know please.

thank you
nath

 
try this instead

mnufile.enable = false or if you dont want that paticular menu show at all then mnufile.visible = false
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top