![]() |
| ||
| Enable Menu items Can anyone help. I have written my application in visual basic 2005 and access database. my problem is i want users to have different menu items depending on their user profiles. How do I enable menu items like administration for administrator and disable it or hide it completetly for general users. Regards Dez |
| ||
| Re: Enable Menu items You can have the program retrieve the user type (admin, etc.) and have an 'If...then' statement that makes the menu items disappear (visible=false) or disable it (enabled=false). To access these properties, just click on the menu item and go to properties. |
| ||
| Re: Enable Menu items Thanks, The other thing can u enable the menu item and disable some subitems within that menu. |
| ||
| Re: Enable Menu items FormName.MenuItemName.enable = false |
| All times are GMT -4. The time now is 9:59 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC