|
-
May 14th, 2000, 03:35 PM
#1
Thread Starter
New Member
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
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
|