Image resize.

Klaus Major klaus at major-k.de
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 ;-)


Best

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the Use-livecode mailing list