SirDrinksalot
Programmer
Hi all,
I'm trying to add a buttonmenu to a toolbar, but when i add the following code to deal with the click event:
Private Sub tblToolBar_ButtonMenuClick(ByVal ButtonMenu As ComctlLib.ButtonMenu)
End Sub
and try to run the program i get the error user-defined type not defined. I have the component installed (mscomctl.ocx) but do i need a reference as well?
TIA
Dan
I'm trying to add a buttonmenu to a toolbar, but when i add the following code to deal with the click event:
Private Sub tblToolBar_ButtonMenuClick(ByVal ButtonMenu As ComctlLib.ButtonMenu)
End Sub
and try to run the program i get the error user-defined type not defined. I have the component installed (mscomctl.ocx) but do i need a reference as well?
TIA
Dan