Dear All,I'm sorry... I forget how to display the picture in a grid...
I have added image container in a grid, and a table holding the name of pictures to be displayed by the image container... how can I point to the records?!
The picture show up only the first record's image for all records... not dynamically changed for different records?!
I think it is wrong...
DO CASE
CASE filelist.att="D"
cPic = "fd-folder.bmp"
CASE filelist.att="A"
cPic = "fd-archive.bmp"
CASE filelist.att="N"
cPic = "fd-normal.bmp"
CASE filelist.att="S"
cPic = "fd-system.bmp"
OTHERWISE
cPic = "fd-other.bmp"
ENDCASE
RETURN cPic
= Thisform.displayPicture()
But I can't set it in form designer!
Thanks in advance!
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************