>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