Solved

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

Posted on 2003-10-23
2
206 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
Comment Utility
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
Comment Utility

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

771 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

11 Experts available now in Live!

Get 1:1 Help Now