Results 1 to 9 of 9

Thread: Menu Items in the Main Menu [RESOLVED]

Threaded View

  1. #1

    Thread Starter
    Member Jared's Avatar
    Join Date
    Nov 2002
    Posts
    58

    Menu Items in the Main Menu [RESOLVED]

    How can I write code to uncheck ALL of the checked menu items that are in a Main Menu?

    Here is the code that I tried: (which doesn't work)

    Private Sub MenuItem8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MenuItem8.Click
    cpnum = 3
    Dim i As Integer
    Dim mnu As MainMenu = Me.MainMenu1
    For i = 1 To 20
    MainMenu1.MenuItems.Item(i).Checked = False
    Next
    MenuItem8.Checked = True
    End Sub

    Thanks,
    Jared.
    Last edited by Jared; Dec 22nd, 2002 at 09:35 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width