Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in grid
Message
From
22/06/2006 11:41:07
 
 
To
22/06/2006 10:09:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01130802
Message ID:
01130849
Views:
51
>>Hi All. I have a grid on a form related to a table. I have added an image control to column 1. I have removed the textbox that was in column 1. Each record in the table contains a bmp file name. How do I make the bmp image for each record appear in grid.column1 for each row of the table? I tried the pictureval and picture properties but can't seem to make it work?
>
>Images, containers in grid FAQ #7934
>Cetin

Hi Cetin, I managed to get this to work but I am confused. I tried to just use the DynamicBackColor of the column to set the image picture property but it would not allow that saying that the Image object did not exist as an object of the column although at design time I had added it. It also could not find the .Columns(n) object. Instead I had to create an Init for the grid and set up the column properties in there using your container and image code from the FAQ. When is the .Columns(n) object available? And must one use a container to hold the image?

Thanks anyway!
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform