IMG HTML in TMSFMXgrid [ANDROID][XE7]

Hi
I try to put a picture in Cell of TMSFMXgrid under ANDROID phone but I just have text.

Pict.Cells[0,0] := '<IMG src="file://storage/sdcard0/DCIM/data/picture.jpg">';
Pict.Cells[0,1] := '<IMG src="file:/storage/sdcard0/DCIM/data/picture.jpg">';
Pict.Cells[0,2] := '<IMG src="/storage/sdcard0/DCIM/data/picture.jpg">';

These tests don't want to work!!!

Thanks you

Regards

SP

I found! But I think there is a Bug.
So, I Know now that I must use BitmatContainer and if I try with this :
Pict.Cells[0,1] := '<IMG src="Item1">';
It don't work but if I add other HTML code like this <B> </B> it work!!!

Pict.Cells[0,1] := '<B> </B><IMG src="Item1">';

You have to add a correct close tag:


Pict.Cells[0,1] := '<IMG src="Item1"/>';

Please refrain from double/triple posting.

Kind Regards, 
Pieter


Pieter Scheldeman2014-10-16 04:41:11