Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Image Control
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Image Control
Divers
Thread ID:
00703811
Message ID:
00703811
Vues:
41
I have placed an Image control on a Form, and its working fine.

I allow the user to set the Stretch property in a setup screen. However, Stretch exhibits unusual behavior once it is set to 0. When I change Stretch from Stretch = 1 to Stretch = 2 or vice versa - there is no problem (the image is resized as needed). But, once I change to Stretch = 0, changing Stretch back to 1 or 2 makes no difference (the Image is not changed). I am using code like:
* DefaultSvStretch either contains 0, 1, or 2.
THISFORM.ImgVisual.stretch = THISFORM.Oapp.defaultsvstretch
THISFORM.ImgVisual.Picture = m.cSvPathFld
THISFORM.ImgVisual.Visible = .T.
Any thoughts on why it has this behavior when set to 0 is appreciated.

Mel Cummings
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform