I'm using the VB6 Standard Toolbar Control. I would like to basically do this:
Private Sub MDIForm1.Toolbar1_ButtonClick(ByVal Button As MSComctlLib.Button)
Which cannot be done. I'm looking for a some along these line.
I have tried this code in a timer, but it seems to make the button click erratic (sometimes more then one click at a time), so I cannot use it.
If MDIForm1.Toolbar1.Buttons(5).Value = tbrPressed Then
Call cmdPlay_Click
End If
Does anyone have any idea on how to achieve what I'm trying to accomplish?