Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I display images in a grid?
Message
From
31/01/2004 14:08:36
 
 
To
31/01/2004 14:02:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00872676
Message ID:
00872679
Views:
18
Hi Claudio,

I am glad that you point in this direction. This is what I have been trying, you see, but maybe I am missing something.

I have indeed included an IMAGE control. I have also made it the current control for the colmun. Additionally, I have assigned the sparse property of the column to .F.

The image is actually displayed, but it is the SAME for all the records: it does not reflect the value of each specific record (a red flag, a yellow flag, or a green flag ... depending on the value of one of the fields of my table).

Any idea on how I can solve this?

Thank you for your help, anyway.

Pat




>>I would love to display an image for each row displayed in a grid: somethinglike a red flag, a yellow flag, and a green flag that would indicate the status of the record (red=critical; yellow=warning; gree= OK).
>>
>>How can I do this?
>>
>>
>Hi Pat;
>
>Right click on your grid, allow you to edit it.. Click on the column, after this, choose the IMAGE control and click onto the top of column..
>
>The hierarchy will be: thisform.grid.columnN.text1 and thisform.grid.columnN.image1 just change the columnN's property CurrentControl for "image1"
>
>Finally your control IMAGE has a property named PICTURE. . Change it for - c:\myfolder\mypic.jpg..
>
>HTH
>
>Claudio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform