Set the icon to (icon of another stack)

Eric Chatonet eric.chatonet at sosmartsoftware.com
Tue Jan 3 09:44:05 EST 2006


Hi Paul,

Images are the only objects the IDs of which can be changed:
Just change the IDs of some images to avoid any conflict :-)
And keep on hand the IDs list :-)

In order to be meticulous, you can store all images in a stack or a  
substack, or put them onto a specific card dedicated to them.

Le 3 janv. 06 à 14:09, Paul Claude a écrit :

> Think to have 3 open stacks, named x1, x2 and x3, and opened in  
> this order.
> Stack X2 and Stack X3 have two images with the same ID (i.e. 1008).
>
> How you set the icon of a button in stack x1 with the image id 1008  
> of stack
> x3?
>
> 1) Using: set the icon of btn y to 1008 shows the icon of stack x2
> 2) Using:
> set the icon of btn y to (image ID 1008 of stack thelongfilepath)  
> shows
> nothing
> 3) 'Start using' or 'set defaultStack' does'nt change the things.

Best Regards from Paris,
Eric Chatonet
------------------------------------------------------------------------ 
----------------------
http://www.sosmartsoftware.com/    eric.chatonet at sosmartsoftware.com/





More information about the use-livecode mailing list