Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can an image be inserted in a class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01536706
Message ID:
01538207
Vues:
49
>>>Can an image be inserted in a class? ie Can a button that has an image, be part of the base class? Instead of being a picture?
>>>Any ideas?
>>>TIA,
>>>Mike
>>
>>convert image a readable string and put is as a variable at class...
>Like a property pic1 and then use filetostr function to store it in pic1... how would i get the image back?

Use strtofile(myImageVariable, 'myFile.jpg')

Alternatively, you can assign PictureVal property to the blob field.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform