ContextMenuStrip

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tm

    #1

    ContextMenuStrip

    I have added a ContextMenuStri p 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.


  • vbnetdev

    #2
    Re: ContextMenuStri p

    TestToolStripMe nuItem.Enabled = False

    --
    Get a powerful web, database, application, and email hosting with KJM
    Solutions




    "tm" <tbmcl@cwnet.co m> wrote in message
    news:OA2QLFPNGH A.1760@TK2MSFTN GP10.phx.gbl...[color=blue]
    >I have added a ContextMenuStri p 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.
    >[/color]


    Comment

    • tm

      #3
      Re: ContextMenuStri p

      Thanks, but How do I get to TestToolStripMe nuItem.Enabled.
      I have looked at ContextMenuStri p1.TestToolStri pMenuItem
      and I get TestToolStripMe nuItem is not a member of ContexMenuStrip 1.


      Comment

      Working...