Options in Menu

I have a menu bar.  I want to make an option where there is a checkbox next to it.  I want it to look like the toolbars menu option on the Visual Basic menus.  If someone could help me and tell me where I could find out how to do this much appreciated!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TimCotteeHead of Software ServicesCommented:
The toolbars list that you mention, is I think a list box with checkbox style set. If you want menu items to be checked, each menu item has a .checked property which you can toggle when the user clicks that item, this displays a tick next to the menu item. If you want to get more complicated, it is possible to create and use your own bitmaps instead of the default tick.
When you enter the menu editor, select the checked box on the items you want checked.

From the code, it can be checked, unchecked and tested for check by using :

mnuOption.Checked = False/True


If mnuOption.Checked = False/True

Use the mnuOption_Click event to alternate the checkboxes and do processing from there.  Email me if you need more information!


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.