Menus on multiple forms

  • Thread starter Christian Westerlund
  • Start date
C

Christian Westerlund

I have multiple child forms which I want to have the same menu as
my MainForm.
I do .Show on each child when I want them to be visible but then the
menu from the Main form disappears.

If I try to set the childs .Menu property to the main forms mainmenu it
disappears from the main form and appears on the child instead.

One soloution would be to set the Menu property every time a form gets
visible and take the mainmenu from the previosly shown form but that
seems to be a lot of code for something that should be a lot easier to
accomplish.

Any help is appreciated.

/Christian
 
N

Nick Randolph

Christian

One option would be to use inheritance to make all the child forms inherit
identical menus...

Nick Randolph
Micorsoft MVP - Windows Mobile Devices
 

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