On 29/05/15 17:33, Klaus major-k wrote:
Hi RIchmond,
Am 29.05.2015 um 16:28 schrieb Richmond <richmondmathew...@gmail.com>:
So, I have a stack with one button and an image "Blob.png",
But none of these scripts inside the button work:
on mouseUp
set the icon of me to img 1003
end mouseUp
on mouseUp
set the icon of me to img ID 1003
end mouseUp
on mouseUp
set the icon of me to img "Blob.png"
end mouseUp
the correct syntax:
…
set the icon of me to 1003
…
or:
…
set the icon of me to „Blob.png"
…
For how long did you say you are using MetaCard/Revolution/Livecode now?
And is your dictionary broken? :-D
That's a stupid remark.
As I am sure you know, anyone only learns the features of a system they
need.
I have never needed to set the icon of a but via script [always used the
Prefs palette].
My dictionary is not broken, but it is ambiguous.
Richmond.
LiveCode 7.0.5 Linux
Richmond.
Best
Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode