N Nits Jun 10, 2006 #1 Hi all How can I determine if a ToolStripMenuItem is having child controls ? Thanks Nits.
G gene kelley Jun 12, 2006 #2 Hi all How can I determine if a ToolStripMenuItem is having child controls ? Thanks Nits. Click to expand... For a top level menu named, FileMenu: If Me.FileMenu.HasDropDownItems Then Dim i As Integer = Me.FileMenu.DropDownItems.Count MessageBox.Show("FileMenu has " & i & " sub-menu items") End If End Sub Gene
Hi all How can I determine if a ToolStripMenuItem is having child controls ? Thanks Nits. Click to expand... For a top level menu named, FileMenu: If Me.FileMenu.HasDropDownItems Then Dim i As Integer = Me.FileMenu.DropDownItems.Count MessageBox.Show("FileMenu has " & i & " sub-menu items") End If End Sub Gene