Bug(?) setting the height of an image

Edwin Gore edgore at shinra.com
Fri Jun 20 18:09:00 EDT 2003


I've got an image, and it's width and height are supposed to be controlled bhy entering numbers into two fields.

The fields location is locked.

the scipts in the two fields are:

on closefield
  set the width of image "largeCDImage" of stack "aassist" to me
end closefield

on closefield
  set the height of image "largeCDImage" of stack "aassist" to me
end closefield

If you enter 225 into each field, the first on works, and resizes the image, while the second gives the following error message:

     	executing at 4:53:53 PM
Type	Object: can't set object property
Object	Height
Line	set the height of image "largeCDImage" of stack "aassist" to me
Hint	225

What gives?

Edwin Gore



More information about the use-livecode mailing list