[SOLVED] CloneMenu Example

Answered
0
0

Hi all,

Just a quick request for an example of the CloneMenu(Menu) method.

I have a form called Home containing a multi layer menu called MainMenuHome and I wish to be able copy this to other forms in my application without building a menu from scratch.

Could you send me a VB code example showing how this is achieved?

I would be most grateful.

BTW, I have resolved all the other issues that I have previously reported.

Kind regards,
Gareth Bond

  • You must to post comments
Best Answer
0
0

Hi Gareth,

glad to hear that your other issues are resolved.

After the cloning the menu simply assign it to the menu property of your other form(s).

Find a sample here (it´s in C# but I think you get the picture):

https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.menu.clonemenu?view=netframework-4.7.2

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.