Solved

Is there a way to make a menu stay open after an item has been selected?

Posted on 2003-10-23
2
215 Views
Last Modified: 2010-08-05
In mainMenu1 I have a heading of Settings. Under Settings is a list of options the user can select by clicking on them which toggles a check mark. Unfortunately, upon each click the menus close which makes the user start over by clicking on Settings and then going to the next item. I would like the menu to stay open, allowing the user to select mutiple items and then close the menu by clicking away from the menu area. How can I accomplish this?
0
Comment
Question by:DonH040699
2 Comments
 
LVL 48

Assisted Solution

by:AlexFM
AlexFM earned 125 total points
ID: 9612234
It's impossible. Make Options dialog with multiple check boxes or put all these items on the toolbar.
0
 
LVL 19

Accepted Solution

by:
Desp earned 125 total points
ID: 9612320

System.Windows.Forms.Mainmenu does not support this. Menus are themselves are Forms with no borders and no titlebars. You can make your own controls and can acheive what you want.

But i would recommend that make a Settings Form or Options Form to do this ... Here are a couple of links for options Dialog

http://www.codeproject.com/cs/miscctrl/propertytree.asp
http://www.csharphelp.com/archives2/archive322.html

the user can also use shortcut keys to check/uncheck the setting options
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now