resizing image icons

Mark Mitchell mark_mitchell at
Wed Jun 26 12:53:00 EDT 2002

>>I once saw a juggler who dropped his  fire-torch and shouted at his assistant, "quick, pick it up, before they notice!"  so
>here is my attempt at the same:
>I wrote:
>Or you can collapse those handlers into one simpler one:
repeat with i = 1 to the number of buttons
put the icon of button i into myIcon
set the width of image id myIcon to the formattedWidth of button i
set the height of image id myIcon to the formattedHeight of button i
end repeat

No dimwit!  You don't need 'formattedWidth' or height, just  plain old width and height.
  So there.

mark mitchell

More information about the Use-livecode mailing list