Re: Adding Buttons to Menus and Menu Strip In VB DOT NET 2005

Marv:
Do you actually mean Command Buttons or do you just want to add a pull down list of buttons under a heading you can click on? Do you want something like the File Edit View top level items you can tab through and then have buttons under the File Menu Item like Save Print Open and Close? If the former I'm not sure. If you want the latter you can just right mouse click on the root tab item like File or Edit or whatever, then arrow down in the Context Menu PopUp to edit Items I think it was called and hit enter. Then you tab around that window and add MenuItems and set the properties for each and add a click event under the tool bar as you do for any control. You write your code in the click event for that pull down item as you would for any button. Let me know what you want to do and I can take a more detailed and fresh look at the process if you have problems. If you want to add a true Command Button, I'm not sure that is what you ment though, I think that is a diferent animal and I have only seen them used with a DataGridView if I remember correctly so far.
Rick USA
----- Original Message ----- From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, December 21, 2008 5:54 PM
Subject: Adding Buttons to Menus and Menu Strip In VB DOT NET 2005


Hi.
i know how to add a menu strip and add menu items.
but how do i add command buttons to a menu strip,a nd then how to code them? have been trying to look for examples on google, but cannot seem to find any
thing.
tried a little experiment, by adding a menu strip, and command buttons, but when i hit the menu, the buttons appear, but when i tab around, the buttons
are there as well.
so how do i do this?
want to hav a compormise for my database application that i am building.
want it to be appelaing, with buttons, and a menu strip.
can any one help?
cheers Marvin.
E-mail: startrekcafe@xxxxxxxxx
MSN: sttartrekcafe@xxxxxxx
Skype: startrekcafe
We Are The Borg! You Will Be Assimilated! Resistance Is Futile!
Star Trek Voyager Episode 68 Scorpian Part One


E-mail: startrekcafe@xxxxxxxxx
MSN: sttartrekcafe@xxxxxxx
Skype: startrekcafe
We Are The Borg! You Will Be Assimilated! Resistance Is Futile!
Star Trek Voyager Episode 68 Scorpian Part One


__________
View the list's information and change your settings at
http://www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at http://www.freelists.org/list/programmingblind

Other related posts: