when my context menu (which comes up when right-clicking on my checkbox) pops up, i want the checkbox to be unchecked. so i have this code for my context menu:
but when my program is run i get this this error: Public member 'checked' on type 'Context Menu' not found.Code:Private Sub RightClick_Popup(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RightClick.Popup sender.checked = False End Sub
why isn't this working? what can i do to make this work?
Thanks.




Reply With Quote