Solved

Disabling MDI child form menus from propagating to parent?

Posted on 2001-06-18
6
252 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 100 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
Industry Leaders: 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

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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA to copy paste columns form one file to other 20 100
Paint/Redraw window while dragging 16 86
Put text in a picture ASP.NET C# 2 68
Export Data to Different .csv Files 26 121
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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

756 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