Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Graphics on a Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00429175
Message ID:
00429250
Vues:
13
>Actually, I've tried your suggestion and it worked with the following in the refresh event of the form:
> thisform.picCartridge.picture = (thisform.txtPicfile.value)
>
>The only problem is there is no refresh event for the picture so I can't followup the command with: thisform.picCartridge.refresh
>
>So when I go to the next page or a previous page the picture doesn't get updated. Is there another way to refresh a picture?
>

The VFP oddity is that the picture does not get refreshed UNLESS it is a different pathname. You could copy your bitmap file to a random filepath say

UniqueBitmapPath = SYS(2015)+ ".BMP"
COPY FILE YourBitMapFilePath TO UniqueBitmapPath
THISFORM.Image1.PICTURE = (UniqueBitmapPath)
-----------------------------------------------------------------
Paul Lee ........... Abri Technologies ......... http://abri.com/
'Recover' - top rated FoxPro/dBase file repair utility.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform