Bug(?) setting the height of an image

Chipp Walters chipp at chipp.com
Fri Jun 20 18:27:01 EDT 2003


Use the isNumber function to check to make sure the contents of me is a number.

-Chipp

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Edwin Gore
> Sent: Friday, June 20, 2003 9:01 PM
> To: use-revolution at lists.runrev.com
> Subject: Bug(?) setting the height of an image
> 
> 
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 




More information about the use-livecode mailing list