Get image ID?

Kevin nnoydb at excite.com
Fri May 7 15:33:32 EDT 2004



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.

Kevin


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the use-livecode mailing list