Scroll-bars in a picture

  • Thread starter Thread starter giannis
  • Start date Start date
G

giannis

I have a table with a field that contain
the paths of various pictures in the disk.
I have make a form from this table with
an image control that shows these pictures.
How can set scroll-bars so can see all the
picture ? (if it is big)
 
I managed to do this by using a subform.

The subform which I called subImageScroll contains one Image control which
is large enough to contain the biggest image I have to deal with.

The subfom has both scroll bars set on (naturally).

The subform is then placed in the main form and sized appropriately.

The image is placed in the subform (named ImageScroll in this example) using
the code ImageScroll.Form.Image1.Picture="picturefilename"

When the main form is loaded the subform appears as an scrollable image.

Hope this works for you,

Rod.
 
Back
Top