Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Images in a Grid
Message
De
10/09/2001 15:43:47
 
 
À
10/09/2001 14:18:34
Todd Cottengim
Alpine Land Information Services
Redding, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00554828
Message ID:
00554869
Vues:
17
>I am attempting to create a grid that will display images based on file names in a cursor. Unfortunatly, the image control does not have a DataSource property. Has anybody done this before?

Hi Todd,

You must add one object with baseclass image to the grids.Column, and produce all the deal on afterrowcolchange metod.

It will be something like that:
Procedure ..mygrid.afterowcolchange
if  file(allt(mycurfile.mypicture))
    with mygrid
         .columnY.gridspicture.picture=allt(mycurfile.mypicture)
    endwith
endproc
Enjoy yourself


CLAUDIO
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform