Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in grid
Message
De
22/06/2006 10:05:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
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:
01130805
Vues:
65
>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?

Lemme see. I haven't worked specifically with pictures, but in general, to activate your new control, you have to change Column.CurrentControl.

To show the picture in all rows, you will also have to change Column.Sparse = .F.; otherwise, it will only show only when the row (or cell?) is active.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform