Associating a file with an Image Object
David Burgun
dburgun at dsl.pipex.com
Tue Jun 14 07:38:28 EDT 2005
Hi All,
I want to be able to choose and image file and have that image appear
in an "image" object. I can't seem to find out how to do this! I have
the following script on a "Choose" button:
on mouseUp
answer file "Please select an Image"
put it into field "FilePathName"
--
-- Now I want to set the image file selected by the user to be
displayed in "Image1", the following doesn't work!
--
set the text of image "Image1" to it
end mouseUp
Could anyone tell me how to acheive this?
Thanks a lot
Dave
More information about the use-livecode
mailing list