Academia schrieb:
> I created two menustrips in the Designer, but assigned neither to
> MainMenuStrip.
> However when I open the form they both show.
> Is that what you would expect?
Yes. The MenuStrips, in contrast to the native Windows Menus, are
acting as stand-alone components, like Toolbars/ToolStrips. Your Form
can have more than one menu at the same time. The MainMenuStrip
property only tells the form, which Menu is handling keyboard
shortcuts, if there is more than one MenuStrip. It's not responsible
for showing or hiding menus.
> So I set both Visible properties to False and now they don't show but I have
> no mainmenu showing at all.
> Is that what you would expect.
Yes, for sure.
> What might I be doing wrong?
What do you intend?
Thorsten Doerfler

Signature
Microsoft MVP Visual Basic
vb-hellfire visual basic faq | vb-hellfire - einfach anders
http://vb-faq.de/ | http://www.vb-hellfire.de/