Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image stretch property - runtime editing
Message
De
07/08/2001 12:03:55
 
 
À
07/08/2001 11:09:22
Denis Filer
University of Oxford
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00540714
Message ID:
00540753
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform