Hi Jesper
Thanks for that. The next and previous buttons are ones I made. How do I
tell if Access is finished loading the photo?
Thanks
Leonard
Australia
> > Is there a way to stop the user going to the next record until the current
> > photo is displayed?
[quoted text clipped - 3 lines]
>
> / Jesper
Jesper - 16 Jan 2007 16:27 GMT
>> > Is there a way to stop the user going to the next record until the
>> > current
>> > photo is displayed?
>>
>> A way is to use your own buttons for Next, Previous etc. and then disable
>> them very briefly until the image i loaded and reenable them then.
I think I've used this on the click events of the next and prev. buttons:
(note that you'll have to move focus somewhere while the button is
disabled).
Me!cmdNextButton.enabled=false
Me!cmdPreviousButton.enabled=false
Me!yourimagecontrol.picture = pathtoimage
Me!cmdNextButton.enabled=true
Me!cmdPreviousButton.enabled=true
would that work?
/ Jesper