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!
It worked perfectly (:
I was being so dumb... hahaha!
i want to print a persian file by thermal printer..
i can print an english file esily..but i face the proble while printing persian text..
i think i ...
I am working on program that will connect to MySQL database, colect data from table and show them in grid. Where user can edit cell, and then on ...
I'm coding a program to learn OpenGL in C++ (based off of The Benny Boxes tutorials) and I've run into a snag where I don't get any errors, but my ...