RealNickyDude
Nov 22nd, 2002, 10:07 AM
How can I capture which button is pressed on a toolbar, besides using (the bold bit): Select Case ToolBar1.Buttons.IndexOf(e.Button)
Case 0
.....
I want to get the name of the button ("save", "load", "new", etc) in case I add / insert buttons later, otherwise i'd have to change all the case statements!
VB 6 had a unique key, but I can't seem to find that on VB .NET?
Case 0
.....
I want to get the name of the button ("save", "load", "new", etc) in case I add / insert buttons later, otherwise i'd have to change all the case statements!
VB 6 had a unique key, but I can't seem to find that on VB .NET?