Get image ID?

Klaus Major klaus at major-k.de
Fri May 7 16:52:23 EDT 2004


Hi Kevin,

>
>
> Okay I would like to alter the icon used by a button at runtime.
>
> I tried this:
>
> put the icon of button "Go" into currentID
> put the id of image "stop" into stopID
>
> this generates a error how my I get the reasource id of a image named 
> "stop" to place into the "icon" property of a button.

do you mean:

...
set the icon of btn "Go" to (the id of img "stop")
...

?

> Kevin

Regards

Klaus Major
klaus at major-k.de
www.major-k.de



More information about the use-livecode mailing list