Problems displaying an image

C

cdug

How do I stop the image name appearing with the image in the image control on
a form or report. All images I am loading at the moment show the image as
well as the image name. (The stretch property is on so the image should
resize to the image control.)
Please help.
 
K

Ken Sheridan

That's not the normal behaviour in my experience. All I can think of is that
you are storing the image name in a text field (which is the best way of
doing it rather than embedding the image) and a control bound to the text
field is overlaying the image control. If so set the text box control's
Visible property to False ('No' in the properties sheet).

BTW I find that setting the SizeMode property to Zoom is usually better as
it preserves the correct proportions of the image, i.e. it will size fully to
the maximum dimension in one axis, but only far enough to keep the correct
proportions of the original in the other axis. On the other hand the effects
of stretching can be quite interesting; I've just tried it with a record
containing a tall narrow image of a dog and stretching it horizontally to
fill the control does give an interesting surreal result, rather like a
Salvador Dali painting!

Ken Sheridan
Stafford, England
 

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