Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying Jpeg and BMP images files on a form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00460052
Message ID:
00460098
Views:
11
>>What version of VFP are you using? With VFP 6, GIF and JPG support was added so no extra products were needed.
>>
>
>I am using VFP version 6.0 SP4. While I am sure it is supported, so far all I have been able tyo do is to dynamically display a BMP file. I have not found the control or syntax to display a JPG or GIF file. I just need to be pointed in the right direction.
>No, I am not storing the images in a general field in a table, ala TASTRADE. I am only storing the path\filename in that table. it is linked to the catalog table.

Larry's answer shows you how to define the image in code. If you're trying to do this in one of the visual designers, then you need to surround the table and field name with the name of the image in parentheses. For example, define the Picture property of your Image object like this:
(MyTable.ImageFile)
Previous
Reply
Map
View

Click here to load this message in the networking platform