HighTechTalks DotNet Forums  

How to grey out menus

VB.net Controls microsoft.public.dotnet.languages.vb.controls


Discuss How to grey out menus in the VB.net Controls forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ray
 
Posts: n/a

Default How to grey out menus - 09-28-2009 , 06:02 PM






Hi,

In my vb express project I've several menus and sub menus. The projects is
binded to a remote sql2005 server. The user needs to login to view the
project via user/password login form. The sql user table has id, username,
password, type (user, admin, staff, etc.) among other columns.

I'd like to grey out menus based on the user's type. How can it be
accomplished?

TIA

Ray

Reply With Quote
  #2  
Old   
Scott M.
 
Posts: n/a

Default Re: How to grey out menus - 09-28-2009 , 06:17 PM






Have you tried the enabled property?

-Scott

"Ray" <email (AT) hotmail (DOT) com> wrote

Quote:
Hi,

In my vb express project I've several menus and sub menus. The projects is
binded to a remote sql2005 server. The user needs to login to view the
project via user/password login form. The sql user table has id, username,
password, type (user, admin, staff, etc.) among other columns.

I'd like to grey out menus based on the user's type. How can it be
accomplished?

TIA

Ray

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.