By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,550 Members | 918 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,550 IT Pros & Developers. It's quick & easy.

VB.NET menu

P: n/a
Hi All
Am using VB.NET menu object. I have a MDI screen and menu is attached to
the MDI screen. When I try to open a child window with in the MDI, the Child
window's menu gets appended to the MDI menu. So now I see two menus in one
menu bar. Usually in VB and in others when ever a child window is opened the
menu of the child window will be replaced with the MDI menu and activating
and deactivating the subsequent windows will hide and show the dependent
menus. How to do this in VB.NET menu.

Thanks in advance
Mahesh.V
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

I think you need to look at a menuitems, MergeType and MergeOrder property

hth

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning.

"Mahesh.V" <ma****@ewaksoft.com> schreef in bericht
news:eP**************@TK2MSFTNGP09.phx.gbl...
Hi All
Am using VB.NET menu object. I have a MDI screen and menu is attached to the MDI screen. When I try to open a child window with in the MDI, the Child window's menu gets appended to the MDI menu. So now I see two menus in one
menu bar. Usually in VB and in others when ever a child window is opened the menu of the child window will be replaced with the MDI menu and activating
and deactivating the subsequent windows will hide and show the dependent
menus. How to do this in VB.NET menu.

Thanks in advance
Mahesh.V

Nov 21 '05 #2

P: n/a
"Mahesh.V" <ma****@ewaksoft.com> schrieb:
Am using VB.NET menu object. I have a MDI screen and menu is attached
to
the MDI screen. When I try to open a child window with in the MDI, the
Child
window's menu gets appended to the MDI menu. So now I see two menus in one
menu bar. Usually in VB and in others when ever a child window is opened
the
menu of the child window will be replaced with the MDI menu and activating
and deactivating the subsequent windows will hide and show the dependent
menus.


You can control the merge behavior by setting the menu items' 'Merge*'
properties to an appropriate value.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.