I have a toolbar in my program and wanted to know which event to use for when one of the buttons is clicked so they can all have their own events. I also wanted to know if each specific button can have it's own ToolTip. Thanks.
Printable View
I have a toolbar in my program and wanted to know which event to use for when one of the buttons is clicked so they can all have their own events. I also wanted to know if each specific button can have it's own ToolTip. Thanks.
Private Sub Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Index
Case 1
'do whatever you want
Case 2
'do whatever you want
End Select
End Sub
... for the ToolTip, right click in the toolbar, select properties, tab Buttons, and define the tooltip for each...
Thanks bud.