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())
 
Back
Top