In LiveCode 8 i can not use
Code: Select all
it
Code: Select all
set the name of it to tImageID
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
it
Code: Select all
set the name of it to tImageID
Code: Select all
on mouseUp
put "Test image name" into tImageID
create image
set the name of it to tImageID
end mouseUp
Code: Select all
function getImage tImageID, tcardID
put toLower(tImageID) into tImageID
if tImageID is empty then exit getImage
-- Check and see if the image is loaded
If there is image tImageID of card tcardID then
return the id of image tImageID of card tcardID
else
-- since we have not loaded the image, load it now
clone image "tempImage" of card tcardID
set the name of it to tImageID
put readDBImage(tImageID) into tImg
--- use text property because imageData does not work always well
set the text of image tImageID of card tcardID to tImg
return the id of image tImageID of card tcardID
end if
end getImage
Thanks, Armenuhi. What's the bug report number? I may have a related item to link there.Armenhui wrote:Thank you for your advice, the report is already sent to Quality Control team.