Hi all,

I'm trying to attach code to a Toolbar button, but have not been successful.

I created first an Image List and then a Toolbar where I specified the buttons.

Once the toolbar and buttons were created, I double clicked on the Toolbar button to attach the code, but the Procedure lists the following:

"
Private Sub ToolBarButton5_ButtonClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.ToolBarButtonClickEventArgs) Handles ToolBar1.ButtonClick

End Sub
"

If I attach the code here, regardless of whatever button I click, the action performed will be always the same !!!

Is this a bug, or am I doing something wrong ?

Please let me know.

Regards,
Joao.