Hej, Marvin!!!
Your problem in pageframes, not in picture control! When you use thisform.refresh, only current page refreshed. Than when you go back - custom controls will show old values from previos record. The way to solve this is to use 'UIEnable' event of some hidden control on page to explicitly call Refresh of page after page switched.
HTH.
>Actually, I've tried your suggestion and it worked with the following in the refresh event of the form:
> thisform.picCartridge.picture = (thisform.txtPicfile.value)
>
>The only problem is there is no refresh event for the picture so I can't followup the command with: thisform.picCartridge.refresh
>
>So when I go to the next page or a previous page the picture doesn't get updated. Is there another way to refresh a picture?
>
>>Have you tried the macro substitution (&) or a name expression. Look in the help file under "&" and it gives examples of both.
>>
>>>What's a good way to display a graphic on a form in Foxpro. I have the name and path of the graphic in a field in a database. But the Image control requires a file name and won't take the contents of a field. I'm sure there's another way. Any suggestions? Thanks!
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.