My app has a nice menu strip, with two tool strips, one containing file options, and other contanining options options (oO)

The bad part is... the options toolstip has two subitems that should be excluse. Like: I click one, other gets unclicked and become not functional. I've tried it, but with no sucess.

A little help, maybe? =)

Thanks a lot! Here is a screen of what I'm saying:


hi.. u should check or unchecked the sub items. if u disable another on clicking the other then how will u enable the disable one..(because u cant click disabled item)

here use something like this:

Private Sub Sub1ToolStripMenuItem1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Sub1ToolStripMenuItem1.Click

        Sub2ToolStripMenuItem.Checked = False
        Sub1ToolStripMenuItem1.Checked = True

    End Sub

    Private Sub Sub2ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Sub2ToolStripMenuItem.Click

        Sub2ToolStripMenuItem.Checked = True
        Sub1ToolStripMenuItem1.Checked = False
    End Sub

I was trying to do with Ifs and I would NEVER think on this. Tomorrow I'll try it, now I have to sleep (its 2:30Am here.)

Thanks in advance!

This question has already been answered. Start a new discussion instead.