Scroll-bars in a picture

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)
 
R

Rod Scoullar

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top