On 10 Jun 2006 08:47:47 -0700, "Nits" <ni*******@gmail.com> wrote:
Hi all
How can I determine if a ToolStripMenuItem is having child controls ?
Thanks
Nits.
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