Observations Re: Images
Rob Cozens
rcozens at pon.net
Fri Jun 21 13:15:01 EDT 2002
>For me the bottom line is, if you
>want the image to be scalable, it must reside in each stack: resizing
>a button does not resize its icon.
>-----------------
>It can, all you have to do is put this into the "onResizeStack handler":
>
>put the icon of button myButt into myPic
> set the height of image id myPic of stack theImages to the height of
>button 1
> set the width of image id myPic of stack theImages to the width of
>button 1
Mark & Others,
I saved this from a May post, and was happily using it this week; but
I just encountered a further complication:
I have two icons for the same button: enabled & disabled. Switching
the disabled property of the button causes the image to return to its
original size.
I guess it's back to duplicate images in substacks of the same stack
or standardized image size...a poor second choice.
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list