Button images

Roger.E.Eller at sealedair.com Roger.E.Eller at sealedair.com
Sat Feb 15 08:57:01 EST 2003


> I have a stack "Display" and a sub-stack "GraphicsStore". I can set a
> button id 1005 (in the "Display" stack) to a image id 1234 in the
> substack via the properties palette, however I am having trouble
> changing the image via a script.
>
> I can remove the icon by;
>
> set the icon of button id 1005 to image id 0
>
> however
>
> set the icon of button id 1005 to image id 1234
> or
> set the icon of button id 1005 to image id 1234 of substack
"GraphicsStore"

Greg,

You don't have to say "image id". Just leave that out and use the number
alone... like this:

set the icon of button id 1005 to 1234

Roger Eller
roger.e.eller at sealedair.com






More information about the use-livecode mailing list