Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I am sure many of you know that the menu control has changed drastically in the way you create it.

 

So I have created a MainMenu using the MainMenu control. But for some reason it is not appearing on my form when I run my app. What do I do?

  • *Experts*
Posted

That depends on what you've done so far. When you look at your

form at design time, what does it look like? Have you laid out your

menu structure using the integrated menu editing system?

Posted

yea, i've created a File menu with Start and Exit menu items, a Options, and a Help menu. I've even created code for the Click event for my two menu items in my File Menu.

 

I see the object at the bottom of my form design with the object name (mnuMain) with the yellow background area, I guess this is where all your menus would go. But I don't know how to make it appear when I run my program.

  • *Experts*
Posted

When you add a MainMenu object to your form, it should create a

menubar at the top of the form. You should then be able to type

your item text into the menu bar by double clicking, typing, and

pressing enter. You can add menu items and sub-menu items the

same way.

 

Check to make sure that you haven't set the Visible property of

the menuitems to False or anything like that. I suggest deleting

the menus that you've got and starting over.

  • *Experts*
Posted

Also make sure the Form's Menu property is set to that MainMenu

control.

"Being grown up isn't half as fun as growing up

These are the best days of our lives"

-The Ataris, In This Diary

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...