Hi,
How can I put an Image from my ANDROID SDCard to a Cell of TMSFMXGrid?
I tryed :
pict.Cells[0,0] := '<IMG src="file://storage/sdcard0/DCIM/data/img.jpg">';
pict.Cells[0,1] := <IMG src="file:/storage/sdcard0/DCIM/data/img.jpg">';
pict.Cells[0,2] := <IMG src="/storage/sdcard0/DCIM/data/img.jpg">';
And I just have text in cells... :-(
Thank you
Regards
Hi,
You will have to use a TTMSFMXBitmapContainer that is assigned to the grid, change the name property of the TTMSFMXBitmapContainerItem to "MyImage", and then use the following code:
TMSFMXGrid1.Cells[0, 0] := '<img src="MyImage"/>';
Kind Regards,
Pieter