|
-
May 23rd, 2000, 04:57 PM
#1
Thread Starter
Hyperactive Member
Help 
I have all these Imagesboxes that need to change picture
to different pictures almost constantly.
Is there a way that I can declare a variable to an
array of images like:
dim arImage(1 to 10) as image
and them in form_load populate this array with my pictures like
arImage.picture=loadpicture(app.path & "\myPicture.gif")
And whenever I need to change picture in my imagebox I simply
write:
mypicbox.picture=arimage(5)
I dont wanna use loadpicture when I change the pictures since I
have around 60+ imageboxes that need to change pictures at the same time.
Any Ideas?
Onerrorgoto
Dont be to optimistic, the light at the end of the tunnel might be a train
-
May 23rd, 2000, 06:17 PM
#2
Frenzied Member
I don't think you can do that.
What you could do (and I expect you've already considered it anyway) is have a hidden array of imageboxes to hold your pictures,
or use an imagelist
[Edited by Mark Sreeves on 05-24-2000 at 12:19 PM]
-
May 23rd, 2000, 06:17 PM
#3
Lively Member
Have you tried ImageList from Microsoft Windows Common Controls?
RogerH
-
May 23rd, 2000, 06:28 PM
#4
Thread Starter
Hyperactive Member
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
|