|
-
Oct 17th, 2002, 04:55 PM
#1
Thread Starter
Member
ActiveX user control problem
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|