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:
00429226
Vues:
19
I'm using VFP5 and the picture format is JPG so I am using Imagen by Pegasus (since VFP5 does not handle the JPG format). I have added method to my form called UPDATEPHOTO. I have a page frame on my form and sometimes the photo needs to be displayed and sometimes it does not. (The photo is actually on top of the page frame.) Then in the Refresh for the form I have THISFORM.UPDATEPHOTO().

With this as a separate method I can call it from the Init event. The REFRESH Event and I also call it from the ACTIVATE events on the different pages in the page frame (it can then decide if the picture should be displayed or not).

>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?
____________________________________________

Norm Peterson

It's a dog eat dog world out there,
and I'm wear'n milk bone underware!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform