Solved

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

Posted on 2003-10-23
2
223 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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