Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

menu bars in forms

Status
Not open for further replies.

mguwc

Technical User
Mar 16, 2004
74
US
Hi -
I'm new to VB.net and I'm not quite sure how to do this. I have created forms and I would like to have the menu "command" line appear on the top of my forms. I don't know if this option is located in the properties of the form or if this is something that I need to create.
- Maria
 
You mean you want something like Word? A main application with its menu and the documents with it's menu's?
then you need to read up on MDI forms or forms in forms I think.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Are you even using MDI? ;-)

try looking into the MenuStrip control instead...

(BTW: I am using 2005 express beta)
Just double click the MenuStrip button from the ToolBox, which should place a MenuStrip accross the top of your form...

Then click on that strip and you should get something like a little box that says: "Type Here"

Click there and type in "command" or what ever...

click outside of the text field and it should switch to a menu item, double click on it to go to the code area for the menuitem

Have Fun, Be Young... Code BASIC
-Josh

cubee101.gif


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
In previous versions it was called Mainmenu.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top