Create a second form containing only an Image control sized to the max
dimensions of your largest image. Keep it open by hidden while your app
is in use.
On the click event of the smaller Image control on the original form do
something like:
Forms!NameOfTheHiddenForm.NameOfImageControl.PictureData =
Me.NameOfSmallImageControl.Picturedata
Forms!NameOfTheHiddenForm.NameOfImageControl. Width = =
Me.NameOfSmallImageControl.ImageWidth
Forms!NameOfTheHiddenForm.NameOfImageControl. Height = =
Me.NameOfSmallImageControl.ImageHeight
Forms!NameOfTheHiddenForm.Visible = True
To allow for Images that may be larger than the current screen
dimensions you may want to consider placing the Image control on a
SubForm so that the subform's ScrollBars can be used to view the entire
Image as I have done here:
http://www.lebans.com/loadjpeggif.htm
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.