I've got an assignment where I want to have a toolbar and menus.
The toolbar and menus will essentially do the same thing so I want to just pass the menu index that has just been selected to the toolbar_ButtonClick method as that will contain all the turning on/off of buttons etc.
The problem is the ButtonClick method takes this parameter:
(ByVal Button As MSComctlLib.Button)
Does anyone know if I will have to create the code twice for the same thing or is there a way to pass it to the method? Maybe creating my own method would be the best way?
Cheers


Reply With Quote