Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display JPG in a form
Message
De
18/11/1999 19:15:53
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00276185
Message ID:
00292816
Vues:
30
Thanx for the idea... I will play with this next week.

>Ian,
>
>Since it's a general field you sure there aren't some other ActiveX controls to try using?
>
>I think what I'd do is strtofile() the general field out to a temp file and just point a normal VFP Image control at that file. You'll probably need to use a CLEAR RESOURCES as you navigate records and change the temp file contents.
>
>>I have just started to play with OLE in VFP6 and want do display on a form a .JPG I have stored in a GENERAL FIELD in table.
>>
>>The closest I can get so far is to click the OLEBOUNDCONTROL on the Form Toolbar and set the CONTROL SOURCE as the general field from the table in question. This solution only displays an icon for the graphic, and a user would have to double click on it to view it (in IE5 on my machine). I would like the graphic to be displayed in a small area on my form with scroll bars on it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform