?
Solved

Disabling MDI child form menus from propagating to parent?

Posted on 2001-06-18
6
Medium Priority
?
260 Views
Last Modified: 2010-05-02
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
Comment
Question by:jlalexander
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
6 Comments
 
LVL 2

Expert Comment

by:chandukb
ID: 6203487
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
 
LVL 4

Expert Comment

by:vindevogel
ID: 6203526
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
 
LVL 4

Accepted Solution

by:
vindevogel earned 400 total points
ID: 6203545
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jlalexander
ID: 6203630
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
 
LVL 4

Expert Comment

by:vindevogel
ID: 6203687
noprob ... here's it's already monday eve  ;-)
helps too
0
 
LVL 4

Expert Comment

by:vindevogel
ID: 6203688
noprob ... here's it's already monday eve  ;-)
helps too
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question