Hi,
I have a toolstripcontainer defined and i have 2 buttons inside the toolstrip. I want to use the Me.Activecontrols.Name to check the button that was clicked, but it always returns the toolstrip control name. Let me know how to get the button that was clicked with Me.ActiveControls.Name
Private
Sub btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn.Click
MsgBox(
Me.ActiveControl.Name)
End Sub
Thanks,
Kris