VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net

by Gehan Fernando (47 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Thu 3rd May 2007
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net

API Declarations


Rem Add Following Code

Rate Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net




        ToolStripButton1.Checked = True
        ToolStripButton3.Checked = False

        Call Form1_Load(sender, e)

        Me.Text += ToolStripButton1.Text

    End Sub

    Private Sub ToolStripButton3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripButton3.Click

        ToolStripButton1.Checked = False
        ToolStripButton3.Checked = True

        Call Form1_Load(sender, e)

        Me.Text += ToolStripButton3.Text

    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Me.Text = ""
        Me.Text = "Form1 :- "

    End Sub


Download this snippet    Add to My Saved Code

Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net Comments

No comments have been posted about Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net. Why not be the first to post a comment about Change Tool Bar Button Into Check Box -- Simple Code ... In VB.Net.

Post your comment

Subject:
Message:
0/1000 characters