Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27389

VS 2008 How to check/uncheck ContextMenuItem by index

$
0
0
Hello,
I have to check/uncheck some items (8-13) by index in ContextMenuStrip based on boolean value.

What I try is:
Code:

ContextMenuStrip1.Items(8).Checked = 0 - value
... but this don't references to desired item and don't have member 'Checked'.

How to access desired item by index and set Checked property?

Viewing all articles
Browse latest Browse all 27389


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>