M
mabond
Hi
I want to loop through the menu items (including sub menus) of a toolbar.
I'm using this at present
Dim mnu As ToolStripMenuItem
For Each mnu In Me.MenuStrip1.Items
'do something to menu item
Next
But it only gives me the top level menu items and not the ones that branch
off those
Can anyone suggest the better way to do this
Michael Bond
I want to loop through the menu items (including sub menus) of a toolbar.
I'm using this at present
Dim mnu As ToolStripMenuItem
For Each mnu In Me.MenuStrip1.Items
'do something to menu item
Next
But it only gives me the top level menu items and not the ones that branch
off those
Can anyone suggest the better way to do this
Michael Bond