Erage an Image control for a record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have an image control on a form that I use to display a picture for each record - but if there is not a picture associated with a record, it just shows the last displayed image. Is there a way to "erase" the image control other than making it non-visible it (I have a doubleclick event associated with the image control, so don't want to disable or hide it).
 
Place a label on the form as well, with a Caption of "No image".

Toggle the label's Visible property the opposite of your picture, and use
its DblClick event to run your code.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.

Verle said:
I have an image control on a form that I use to display a picture for each
record - but if there is not a picture associated with a record, it just
shows the last displayed image. Is there a way to "erase" the image control
other than making it non-visible it (I have a doubleclick event associated
with the image control, so don't want to disable or hide it).
 
Back
Top