Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to fix Doug Hennig highlighting in preview code
Message
From
05/06/2006 12:56:42
 
 
To
04/06/2006 10:22:25
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01125701
Message ID:
01127139
Views:
21
>Check the Anchor property of the shapes; if it's 0, they aren't being resized when the container is. You might want to make the shape visible (eg. set the border color to black) for testing so you can see where they are being placed.

Doug,

thank you. I solved this by sizing shapes after zooming:
SELECT (this.coutputalias)
FOR EACH OSHAPE IN this.ocontainer.controls 
  GO (OSHApe.nrecno)
  OSHApe.left= left/10*this.nZoomFactor
  oshape.top= top/10*this.nZoomFactor
  oshape.width= width/10*this.nZoomFactor
  oshape.height= height/10*this.nZoomFactor
  ENDFOR 
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform