RESOLVED: want my checkbox to uncheck when context menu appears
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:
Code:
Private Sub RightClick_Popup(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RightClick.Popup
sender.checked = False
End Sub
but when my program is run i get this this error: Public member 'checked' on type 'Context Menu' not found.
why isn't this working? what can i do to make this work?
Thanks.