Button icons

Klaus major-k klaus at major-k.de
Fri May 29 10:33:55 EDT 2015


Hi RIchmond,

> Am 29.05.2015 um 16:28 schrieb Richmond <richmondmathewson at 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

> LiveCode 7.0.5  Linux
> 
> Richmond.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list