Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in grid
Message
 
 
À
22/06/2006 09:47:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01130802
Message ID:
01130913
Vues:
275
This message has been marked as the solution to the initial question of the thread.
J'aime (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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform