Solved

Disabling MDI child form menus from propagating to parent?

Posted on 2001-06-18
6
251 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
  • 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access Search and Replace Using VBA 6 82
How does CurrentUser work? 10 38
How to measure sizes and angles in scanned images ? 3 76
Help me. 3 60
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
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…

860 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