Can I add them to the context menu and programmically copy them to the main menu

F

Franky

I'm trying to learn about the MenuStrip and the ContextStrip.

I use Google and get an unbelievable number of hits but can't seem to find
out the answer to one question.

All the items on my context menu also appear on my main menu.

Do I have to use the Designer to add them to both (that is, do I have to
input the data twice.)

Or is there some way to add them only to the context menu and programmable
copy them to the main menu.




Thanks for any help at all
 
G

Guest

I'm trying to learn about the MenuStrip and the ContextStrip.

I use Google and get an unbelievable number of hits but can't seem to
find out the answer to one question.

All the items on my context menu also appear on my main menu.

Do I have to use the Designer to add them to both (that is, do I have
to input the data twice.)

If you do it via the designer you need to add the item twice.
 
F

Franky

My question is: Do I have to use the Designer and add them twice or is there
some way to programmically copy the ContextStrip items to the MenuStrip
(that is, copy them, not move them)?

thanks
 
F

Franky

I did find a FAQ that contained the statement:
We do support reusing the same ToolStripDropDown or ContextMenuStrip in
multiple places (non-nested).

If this means a ContextMenuStrip can be the forms context menu and also
appear on the forms main menu, I believe if I knew how to do that I'd be all
set.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top