Picture Gallery Problem....

GJT

Registered User.
Local time
Today, 08:02
Joined
Nov 5, 2002
Messages
116
Any ideas on this one?

I have an application for viewing customer contracts that utilise image files. I have a form using
a single image control where the user can 'page' through the image collection for that customer.

I need to integrate a feature whereby I can display a 'gallery' form where all the images can be
displayed (in a continuous form layout using a vertical scroller). I have managed to create the form -
the problem I am having is that VBA does not seem to have any notion of control arrays like VB.
Subsequently, when I load the form - all image controls on the form populate themselves with the same
image file. When I move focus to the next image on the form - all image controls update to reflect the new image
in the collection. Obviously, each image control needs to display its own image.

How can I populate each image control with its own image - when the form loads?
 
I have run across this myself and haven't found a fix. Will keep looking.
Dave
 

Users who are viewing this thread

Back
Top Bottom