It could be that after the number of zooms the width to height ration is wrong for how the picture is placed on the page
scaled to fit center proportional etc regards chuck On Tue, Dec 4, 2018 at 2:54 PM Peter Mew via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi > Im using Transform picture to Zoom in and out. Horizontally, of a graphic. > The Graphic starts out about 4500 (This will vary) pixels wide, using > transform picture to fit it in a window 930 pixels wide. > the code to zoom in is > > <>ScrollRatio:=<>ScrollRatio*2 //Zoom Ratio > $ScaledL:=OrigL_3 //OrigL_3=The Original horizontal size > TRANSFORM PICTURE($ScaledL;Scale;<>ScrollRatio;1) > LeftPic_3:=$ScaledL // LeftPic_3= The displayed picture > > It scales correctly the first 4 times I Zoom in, after the 5th Zoom, the > scaling is no longer correct. > Zooming back out restores the correct scaling > Any Ideas what might be going wrong? > > > Thanks > -pm > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** -- ----------------------------------------------------------------------------------------- Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064 Informed Solutions, Inc. Brookline, MA 02446 USA Registered 4D Developer Providers of 4D, Sybase & SQL Server connectivity http://www.informed-solutions.com ----------------------------------------------------------------------------------------- This message and any attached documents contain information which may be confidential, subject to privilege or exempt from disclosure under applicable law. These materials are intended only for the use of the intended recipient. If you are not the intended recipient of this transmission, you are hereby notified that any distribution, disclosure, printing, copying, storage, modification or the taking of any action in reliance upon this transmission is strictly prohibited. Delivery of this message to any person other than the intended recipient shall not compromise or waive such confidentiality, privilege or exemption from disclosure as to this communication. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************