Whether ContextMenu be copied to MainMenu...

  • Thread starter Thread starter I_AM_DON_AND_YOU?
  • Start date Start date
I

I_AM_DON_AND_YOU?

I have a contextmenu1 many many menus options and then each options have
many sub-levels and this thing goes on. .... I wanted to copy all this to
MainMenu1.... Is it possible? I want to copy this because I don't want to
type again all these menu names and text property.

Thanks in advance!
 
I have a contextmenu1 many many menus options and then each options have
many sub-levels and this thing goes on. .... I wanted to copy all this to
MainMenu1.... Is it possible? I want to copy this because I don't want to
type again all these menu names and text property.

Thanks in advance!

Look at the MergeMenu and CloneMenu methods... With them you should be
able to do something like:

MainMenu1.MergeMenu(ContextMenu1.CloneMenu())
 

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

Similar Threads

ContextMenu 7
CONTEXTMENU 2
contextmenu 2
contextmenu and contextmenustrip 1
contextmenu & left mouse click 10
Bug in ContextMenu : SOLVED!!!!!! 14
ContextMenu Icon ... 1
Is there any bug with VB.Net ContextMenu ?? 13

Back
Top