zooming in on a displayed image ?

Chipp Walters chipp at chipp.com
Fri May 12 12:42:51 EDT 2006


Francis,

Try setting the lockLoc of your image to true after setting the size. Then
it won't resize full screen.

best,

Chipp


> Second problem :
>
> My image has a "hide me" script which clears the
> window, so I can display other .gif files. If I then
> click on the same display button, my .gif file is
> now displayed in full size (but obviously only a
> part of it). Why is this ?
>
> Any help gratefully appreciated.
>
> BUTTON SCRIPT
>
> on mouseUp
>    global GVC1FileName -- Valid file name
>    hide image "MyImage"
>      set the filename of image "MyImage" to GVC1FileName
>     -- put the formattedheight of image "MyImage" into GVHeight
>     -- put the formattedwidth of image "MyImage" into GVWidth
>      set the rect of image "MyImage" to 79,16,733,574  -- Window limits.
>      show image "MyImage"
> end mouseUp
>
> -Francis
>
> "Nothing should ever be done for the first time !"
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>



More information about the Use-livecode mailing list