resizing image icons

Mark Mitchell mark_mitchell at kmug.org
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
Japan




More information about the use-livecode mailing list