Image control in a Background

Vaughn Clement vclement at
Thu Jun 26 11:56:13 EDT 2014


This morning I did some testing to address the image updating in the
current card in the image control and did not come up with a solution that

I have the On OpenCard script that is working to add the image to the image
control, and as before the on OpenCard script cannot update the image field
in the open card because the script has already triggered.

I tried to use a button on the card to refresh the image field to display
the last edited image, but everything I tried had no effect?
I tried to have the image assigned to the card id to reload using this in
the button:

*on mouseUp*

*if* the number of this card >1 *then*

      *set* the defaultfolder to specialFolderPath ("documents") &

         *if* there is a file the short id of this card *then*

            *put* specialFolderPath ("documents") & "/photos/" & the short
ID of this card into thePath

            *set* the filename of image "imageField1" of this card to

         *end* *if*

      *end* *if*

*end mouseUp*

I am I totally off base trying to use this approach?

Thank you

Vaughn Clement

Apps by Vaughn Clement (Support)
Skype: vaughn.clement
FaceTime: vclement at
LogMeIn also avaialble
Call on "ooVoo" at address:  vaughnclement or 9282549062
Ph. 928-254-9062

On Wed, Jun 25, 2014 at 5:34 PM, J. Landman Gay <jacque at>

> That's good to know.  My app is desktop only and it must be different
> there.  Thanks for the heads up.
> On June 25, 2014 4:51:44 PM CDT, Simon <simon at> wrote:
> >Hi Jacque,
> >"But for image objects it isn't needed, and you can omit that
> >instruction."
> >Actually it was the only way to get the script to work on mobile when I
> >actually put it on my device.
> --
> Jacqueline Landman Gay         |     jacque at
> HyperActive Software           |
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list