Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can an image be inserted in a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01536706
Message ID:
01538207
Views:
48
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform