Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I want to include two modes in my application. The user should be able to select one of the modes from the MenuStrip. When any of the modes is selected, a check sign should appear next to it as is seen in many application. Both the modes cannot be selected together and there is default mode when the applicaition is started.
Here's an exmaple of check sign on MenuStrip
http://img32.imageshack.us/img32/4471/screenshotkxi.png[^]
Posted
Comments
demouser743 9-Oct-10 8:08am    
Small question do you need to check the selected item or by default you need some of the items in the menu bar get checked

If you simply want check boxes on the menu, see here[^].
 
Share this answer
 
By default you need to check means you will have a property for the menu item. If you have to select through code means handle that in the click event of main menu item

Example if you have the following

File
|->New
|-> and so on

Under File_click event you can select the one you required to be checked as
<code> New.Checked = true;</code>
// According to your naming conventions check that to true
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900