Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Images in grid
Message
 
 
To
22/06/2006 09:47:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01130802
Message ID:
01130913
Views:
273
This message has been marked as the solution to the initial question of the thread.
Likes (1)
>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
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform