Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieve images from EXE
Message
De
27/08/2007 17:15:35
 
 
À
27/08/2007 17:05:15
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01250756
Message ID:
01250763
Vues:
21
First, I have created a general field in temporary cursor, where I put compiled image, like this...
REPLACE FieldImageName WITH CompiledFileName

Second, I need to display my image in window, like this...
DEFINE WINDOW WindWait FROM 5,50 TO 15,80 NAME oWindWait DOUBLE
oWindWait.left = SYSMETRIC(1) * 0.5
oWindWait.top = SYSMETRIC(2) * 0.5
oWindWait.height = 110
oWindWait.width = 195
oWindWait.AddObject("imgDessin", "image")
oWindWait.imgDessin.picture = FieldImageName
oWindWait.imgDessin.visible = .t.
ACTIVATE WINDOW WindWait

>> Try without general field, I think it works too if you directly assign CompiledFileName to picture property.
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform