Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in grid
Message
From
23/06/2006 05:25:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01130802
Message ID:
01131055
Views:
62
>>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?
>
>Here is a nice trick originated from Fabio Lunardon (I use it my files selector form, which uses IconBuddy class to retrieve associated icons).
>
>** Form's Init
>thisform.grdFiles.colImage.dynamicfontshadow = ;
>	"thisform.grdFiles.colImage.Refresh()"
>
>** Grid colImage.refresh
>NODEFAULT
>this.FileIcon.Picture = curFiles.cIcon_File
What a beautiful and elegant solution :) Thanks Naomi and Fabio (but Italy still not going to win :)
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform