In my parent form , i put a toolbar and few toolbar button . Could anyone knwos how to activate the toolbar button once the user click . For example , to launch a specified form.
you can use something like this for the toolbar_buttonclick event.
Select Case (toolbar.Buttons.IndexOf(e.Button))
Case 0 'btn0
Dim frm As New form1
frm.MdiParent = Me
frm.Show()
Case 1 'btn1
Dim frm As New form2
frm.MdiParent = Me
frm.Show()
Case 2 'exit
End
End Select
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.