• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 273
  • Last Modified:

Disabling MDI child form menus from propagating to parent?

I've got a MDI parent with it's own menu. I have a MDI child that has a menu purely for the purposes of a right-click popup menu.

The problem is, I don't want that menu to propagate to the MDI parent's and replacing it.

Is there any way to do this?


Thanks,
-Jason
0
jlalexander
Asked:
jlalexander
  • 4
1 Solution
 
chandukbCommented:
I got this problem once, then I deleted the child form
menu, and used a nice API to create menu's on the fly.

The link:

http://www.planet-source-code.com/xq/ASP/txtCodeId.14792/lngWId.1/qx/vb/scripts/ShowCode.htm

Chandu
0
 
vindevogelCommented:
I think you can use  popupmenu parentform.menuname too ...
Not sure though.

I that case, you can add your popup to the MDI parent.


0
 
vindevogelCommented:
jep indeed ...
create the menu on your mdi parent
hide it, of course

from you mdi child, call it using

popupmenu mdiparent.your_menuname_that_you_hide
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
jlalexanderAuthor Commented:
Thanks!

That did, indeed, take care of my problem. I didn't even think about referencing it via the parent.

You've got to love Mondays!


Thanks again!
-Jason
0
 
vindevogelCommented:
noprob ... here's it's already monday eve  ;-)
helps too
0
 
vindevogelCommented:
noprob ... here's it's already monday eve  ;-)
helps too
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now