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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disabling menu whilst logon is present

Status
Not open for further replies.

bernardmanning

Programmer
Oct 14, 2003
61
GB
Hi, Newbie to .Net here

I have a simple app that has a main mdi form with a menu.

In the main application mdi form load event I've placed code to load a password signon screen.

However, even though I load the password screen as a modal form using showdialog, the menu options are all enabled.

This allows the user to select other menu options before they have logged in.

Is there a way to disable the menu items?

Ideally , I'd like to disable them all the menu options apart from the File / Exit option until the user has logged in.

Many Thanks, Bernie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top