M
mpfohl
I have a form I'd like to simulate a very basic animation based on
underlying data. (I use the term 'animation' losely).
Basically, I want to be able to move an image around the form, change
the width/height/coordinates depending on what the data values are
underneath.
I can do this if I have the initial image no problem, however I run
into trouble if I want to create another image based off that original
tempalte. Is there a way in VB code to completely copy an existing
Image object on the form, basicaly cloning it, so I can move around
both copies of the image independently?
My current workaround is to have several hidden copies of the same
image, and then unhide a new one each time I want a new copy, but that
means I have to have a finate number of images, and I'd rather be able
to use the image objects in a collection in the VB code, creating as
many new ones as needed by copying the original template's
properties. This is my poor-mans attempt at adding moving graphics to
MS Access.
Thanks,
underlying data. (I use the term 'animation' losely).
Basically, I want to be able to move an image around the form, change
the width/height/coordinates depending on what the data values are
underneath.
I can do this if I have the initial image no problem, however I run
into trouble if I want to create another image based off that original
tempalte. Is there a way in VB code to completely copy an existing
Image object on the form, basicaly cloning it, so I can move around
both copies of the image independently?
My current workaround is to have several hidden copies of the same
image, and then unhide a new one each time I want a new copy, but that
means I have to have a finate number of images, and I'd rather be able
to use the image objects in a collection in the VB code, creating as
many new ones as needed by copying the original template's
properties. This is my poor-mans attempt at adding moving graphics to
MS Access.
Thanks,