ContextMenu problem in MDI

  • Thread starter Thread starter pei_world
  • Start date Start date
P

pei_world

I have a contextMenu in MDIparent form, but why it also show up in my
MDIchild form as well.
how to get rid of it?
thanks
 
pei_world, how did you create your ContextMenu and assign it to the parent
form? Does it show up in all areas of teh child? Could you post code which
demonstrates the problem you are having.
 
I set up the contextMenu in property window,
and it come up in every childforms that is contained in the parent

in childform
public <constructor-name>(myParentForm parent)
{
this.MDIparent = parent;
}

in parent form
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top