Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've recently ran into a problem when using Child forms. At design time, I create a main menu for my child form but when I run the application, all the

menu items in my child form are now located in my parents main menu. Can someone help shed some light on this? Thanks in advance.

 

-=Simcoder=-

Whatever thy hand findest to do, do it with all thy heart - Jesus
  • Leaders
Posted

You will probably notice that you get the same exact behavior with any other MDI application. This is just how MDI applications work. The idea is to incorperate the menus of the parent and child seamlessly. I don't know if there is a non-.Net way to place the menu inside the child, but even if there is, I don't recommend it.

 

Check out the MenuItem.MergeOrder and MenuItem.MergeType properties in MSDN to see how you can get your menus to merge appropriately.

[sIGPIC]e[/sIGPIC]
Posted

Thanks for your response. I guess I'll just have custom make my own menubar or just use the parent one. I'f I'm not mistaken, Vb 6 allowed child forms to have their own main menus. Anyways, thanks again.

 

-=Simcoder=-

Whatever thy hand findest to do, do it with all thy heart - Jesus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...