In VB.net, I cannot figure out how to programmatically call a sub-menu, except in the same procedure that I first create the menu.
Private Sub InitializeMenu
Dim menuView As New ToolStripMenuItem
menuView.Text = "View" 'Assign a text value to the MenuStripItem
mnuMain.Items.Add(menuView) 'add the MenuStripItem to the main menu
'add a submenu for this grid
Dim subMenu As New ToolStripMenuItem
subMenu.Text = GRID_NAME(iGrid)
but I cannot make the performClick work if I am outside of this procedure.
it doesn't seem to make sense to dimension a new one in a new procedure.
This is probably obvious but I'm known for overlooking the obvious. Thanks for your help!