Image control

Image control

am 23.04.2008 16:09:47 von lgeastwood

I have browsed and seen several posts on the subject but my issue
seems to be unique.
I have an image control on a form that updates on the after update
event of a list box on the control.
For each each item in the list box there is a corresponding jpg image
displayed.
Moving through the list items displays each corresponding image
correctly.
Double clicking the list box opens an editing form that can change the
image. If the image is changed or not changed and the editing form is
closed, the image (new or original) is displayed in the image control
of the original form.
When the editing form closes, the image displayed on the original form
appears fuzzy.
But as soon as I click to select the item on the list box, the image
displays clearly again.
I use the same code procedure in the close event of the edit form as
for the after update event of the list box control to load an image
into the image control. Yet for some reason one procedure produces a
clear image and the other a fuzzy one. Has anyone seen this type of
thing before?