Toolbar Control

  • Thread starter Thread starter JamesJ
  • Start date Start date
J

JamesJ

Hi. Just started using the Activex Toolbar control and
was wondering if someone could help me with a problem.
I'm not sure how the reference the Button Menu(s) for
a tbrDropdown style button. Using the following code
I'm able to reference the button(s) that aren't Dropdowns.

Private Sub axcToolbar_ButtonClick(ByVal Button As Object)

Me!axcToolbar.SetFocus

Select Case Button.Key

Case "New" ' Need help
here
DoCmd.OpenForm ("TestForm2")

Case "Close"
Call GlobalClose

End Select

End Sub

I have a Button menu in the "New" Case called Appt but I'm not
sure how to reference it.
Any help will be appreciated.

James
 
Back
Top