This is peeving me, I know I am missing something simple.
So I create an ActiveX user control called MyButtonControl with an imagelist and image component in it.
When an instance is created in design time, I want the image to default to a certain button.
Private Sub MyButtonControl_Initialize()
Debug.Print "Initialize"
imgMain.Picture = imlMain.ListImages(1).Picture
End Sub
The problem is the picture never changes from the default gray.
Any ideas?
