P pei_world Dec 9, 2003 #1 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
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
G Greg Ewing [MVP] Dec 9, 2003 #2 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.
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.
P pei_world Dec 9, 2003 #3 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; } Click to expand... in parent form
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; } Click to expand... in parent form