A
Anil Gupte/iCinema.com
How do I add items to a menu while simultanesously adding an OnClick event
for each. I have an 2Xn array of text items (labels) and matching URLs.e.g.
"Google", www.google.com
"Yahoo", www.yahoo.com
I want the first column to be the menu label and the second column is where
the browser goes when the menu is clicked. OK, so the first part is easy.
AdditionalToolStripMenu.DropDownItems.Add(strResearchLinksArray(i, 1))
How do I go to strResearchLinksArray(i, 0) when that item is clicked. I am
vb.net 2005.
for each. I have an 2Xn array of text items (labels) and matching URLs.e.g.
"Google", www.google.com
"Yahoo", www.yahoo.com
I want the first column to be the menu label and the second column is where
the browser goes when the menu is clicked. OK, so the first part is easy.
AdditionalToolStripMenu.DropDownItems.Add(strResearchLinksArray(i, 1))
How do I go to strResearchLinksArray(i, 0) when that item is clicked. I am
vb.net 2005.