Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying images in a grid
Message
De
26/05/2005 16:05:24
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01017931
Message ID:
01017933
Vues:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Hi all, I have a grid in which I'd like to display an image depending on the value of certain field(s) in a cursor. What would be the best way to accomplish with this?
>
>I've thought of adding a image control to the grid's column but can't find the way to bound it to the cursor's field. Any thoughts?

It's tricky - you need one control per image. So, if you need to show 20 different images, you'd need 20 image controls in your column, and the .DynamicCurrentControl would be used to decide which one will show in the current row.

See Re: How To: Display an Icon is a grid row Thread #752161 Message #753722 for a longer discussion (though there's several details that may not relate to your case).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform