Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image stretch property - runtime editing
Message
De
07/08/2001 11:27:09
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
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:
00540737
Vues:
17
This message has been marked as the solution to the initial question of the thread.
>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?

Denis,
Save and restore height, width :
with ThisForm.myImage
 lnHeight = .Height
 lnWidth = .Width
 .Stretch = lnNewValue
 .Height = lnHeight
 .Width = lnWidth
endwith
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform