Image resize.

Klaus Major klaus at
Tue Oct 19 16:20:51 EDT 2004

Hi Derek,

>> This bugs me too.  Is anyone aware of a simple Transcript workaround
>> (to constrain the size during resize using a script), or should I  
>> start
>> trying to be clever here?

> This should help...
> global  
> oWidth,oHeight,newWidthPixels,newWidthPercent,newHeightPixels,newHeight 
> Percent
> --  For the Width
> on doUpdate
> put (word 2 of the selectedLine of btn "widthUnit") into widthUnit
> ...

very nice, Derek, very nice!

Could you eventually consider to give a TINY hint on how to use it?

Thanks ;-)


Klaus Major
klaus at

More information about the Use-livecode mailing list