confirm image embedded in field with imagesource

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
david_fff
Posts: 29
Joined: Wed Nov 12, 2014 5:29 pm

confirm image embedded in field with imagesource

Post by david_fff » Wed Nov 11, 2015 7:33 pm

I've used imagesource to embed an image in a field (usually replacing the last character in the field). With scripting, how can I confirm that an image already resides in the field? "get last char of field "q" does not return the name of the graphic.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9580
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: confirm image embedded in field with imagesource

Post by dunbarx » Wed Nov 11, 2015 8:11 pm

Hi.

If you can set the imageSource of a char, you can also get it. Does that help? I know it is homework...

Craig Newman

david_fff
Posts: 29
Joined: Wed Nov 12, 2014 5:29 pm

Re: confirm image embedded in field with imagesource

Post by david_fff » Thu Nov 12, 2015 1:45 am

Thanks, but not sure what you mean. I tried
put the imagesource of the last char of fld "q"
after making sure that the image was the last character, but nothing was returned.
Any other ideas?

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”