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!
How to connect device scanner with visual basic, its analogy I made button scan in vb and typing button scan in press scanner live and walk .. how? Help ...
I want to write out a DXF file with line arc and maybe spline.
My issue is documentation; While I have looked at AutoCAD's site I feel that there isnt ...
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then For Each subCtrl As Control In ctrl.Controls If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then MsgBox(subCtrl.Text) End If If subCtrl.GetType Is ...