|
-
Dec 21st, 2002, 02:17 PM
#1
Thread Starter
Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|