Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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!
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 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