|
-
Apr 25th, 2005, 01:10 AM
#1
Thread Starter
Member
Cannot attach code to ToolBar Button !!!
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|