Home All Groups Group Topic Archive Search About
Author
19 Feb 2006 1:10 AM
tm
I have added a ContextMenuStrip control to my program. How can
I select the first menu item in the list and programmable change
its enable property false so it becomes grayed out.

Author
19 Feb 2006 1:38 AM
vbnetdev
TestToolStripMenuItem.Enabled = False

--
Get a powerful web, database, application, and email hosting with KJM
Solutions
http://www.kjmsolutions.com



Show quoteHide quote
"tm" <tb***@cwnet.com> wrote in message
news:OA2QLFPNGHA.1760@TK2MSFTNGP10.phx.gbl...
>I have added a ContextMenuStrip control to my program. How can
> I select the first menu item in the list and programmable change
> its enable property false so it becomes grayed out.
>
Author
19 Feb 2006 3:43 AM
tm
Thanks, but How do I get to TestToolStripMenuItem.Enabled.
I have looked at ContextMenuStrip1.TestToolStripMenuItem
and I get TestToolStripMenuItem is not a member of ContexMenuStrip1.