I have a toolbar with a button that is a dropdown type.
I know how to make the button do something, but how do I get the items in the list to do something?
Thanks, by the way, for the response below!
Printable View
I have a toolbar with a button that is a dropdown type.
I know how to make the button do something, but how do I get the items in the list to do something?
Thanks, by the way, for the response below!
whoa, don't all answer at once!
You just reference the ButtonMenu's key and that is whatever you assign on your toolbar in the menu's key property
Code:Private Sub Toolbar1_ButtonMenuClick(ByVal ButtonMenu As MSComctlLib.ButtonMenu)
Select Case ButtonMenu.Key
Case "one"
MsgBox "one"
Case "s1"
MsgBox "sub one"
End Select
End Sub