Re: Adding Menus In vb

Marv: I sent you a step by step but I do not see it so I did another one:
There are easier ways of doing this but this method works 100 percent of the time for me:
Add a form frmTestForm to project:
Set it's properties to size of 1000 by 700, background color black foreground color white, Start Position Centered:
Set it as the Start up form so we can test it easily:
Bring it up in the Forms Designer:
Drop a MenuStrip on the form:
It will be called MenuStrip1:
Right Mouse Click the MenuStrip and a context box pops up:
Arrow Down to EditItems and hit enter:
The Items Collection Editor window comes up:
Tab around this editor until you hear a drop down box that is labeled Select Items And Add To List Below: In this box I have: a MenuItem, ComboBox and TextBox for my choices, I arrow to MenuItem and tab to the Add Button and hit enter: I tab to the properties table for the newly added item and change the name from ToolStripMenuItem1 to SortActions: I arrow to the text property and change it from ToolStripMenuItem1 to Sort Actions:
I tab to the OK Button and hit enter and am returned to the Forms Designer:
I right mouse click the new SortActions Root Tab and another popup context box comes up:
I arrow to  Edit PullDown Items and hit enter:
The Items Collection Editor Window comes up:
I tab to the PullDown Box labeled Select Item and add to blist below:
I highlight the item labeled MenuItem and arrow to the add button and hit enter:
A new item called ToolStripMenuItem1 is added:
I tab to the Properties Table and change the name to SortOnTicker and text property to Sort On Ticker:
Then Tab to OK and hit enter:
I am returned to the Forms Designer:
I then right mouse click the new item, SortOnTicker and bring up the regular Properties Window for the Control: I tab to the ToolBar and arrow to the Events Button, click it and am put into the Code Editor for the click event:
I enter:
MessageBox.Show( "Sort On Ticker Clicked")
and close everything out saving my work.
I test the project, the Menu comes up and I click the SortOnTicker pull down and the MessageBox does it's thing and I hear the message SortOnTicker Clicked: I close the project, and am done.
Rick USA

----- Original Message ----- From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Tuesday, December 23, 2008 3:00 AM
Subject: Adding Menus In vb


Hi rick.
maybe you can e-mail me off list.
what i was thinkin of, was combining a menu with buttons, like a pull down
menu, so it was visually appealing, not just boring menus, but also was
functional for the blind or sighted users.
a toolstrip menu, from what i have heard, or a menu strip, whith pull down
menus, or buttons.
that is what i want to achieve.
bill, is building me a sample application.
but, thought, maybe could hsort cut the process, i know he is a busy person, and with christmas, and everything, was just trying to make his job eaiser,
and trying to get a soultion, withoout having to wait for him to do this.
so let me know, if you have done this sort of thing before.
and yes, the data grid, did that, and that works well with jaws.
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


__________
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: