Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image stretch property - runtime editing
Message
From
07/08/2001 12:03:55
 
 
To
07/08/2001 11:09:22
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00540714
Message ID:
00540753
Views:
21
>If I switch the stretch property of an image from the default 0 to 1 or 2 at runtime, nothing happens to the image. I've tried re-setting the image visible and picture properties and refreshing the form. If the form atarts life with stretch set to 1, a runtime switch to 0 does work. Any clues?

If the stretch property is 0 & the picture property is assigned at runtime (eg in init()) - the object size on the form will be modified to match the physical image size, so setting to 1 or 2 has no effect. If the picture property is set at design-time & the object size on the form does not match the image size the image will be clipped (if stretch is 0), and you will see an effect on changing stretch to 1 or 2.
Len Speed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform