Varying image sizes

  • Thread starter Thread starter Graham Naylor
  • Start date Start date
G

Graham Naylor

Hi,

I need to handle the display of images in an unusual way and am hoping
someone out there can help me.

I need to display an image on a form where the image is a JPG file held on
disk and its location will be held in a text field within the database. A
form will display a number of normal text/date/fields and an image field of
some sort, display of the image will be handled in the Form's OnCurrent
procedure.

Now comes the tricky bit, all the images will be the same width but of
varying lengths and if possible the form should always display the image at
the full width but use a vertical scroll bar to move the part being viewed
up and down.

Any ideas on how to handle this?

Graham
 
If you create an image box on a subform and size it at
design time, it will display some photos distorted
because the aspect ratio is not correct. This is because
the heights are different.

I am not aware of the image box control having the
capabiity to have a veritical scroll bar and
automatically correct for this. Maybe there is a third
part image control that does this.

Bill
 
Bill do you understand the use of an Image control's:
a) SIzeMode prop
b) ImageHeight and ImageWidth props
c) THe concept of resizing an Image control at runtime if necessary

The OP stated that all of the images were exactly the same width but
varied in height
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
Back
Top