Get link Facebook X Pinterest Email Other Apps - August 22, 2018 How to show in the object of TListBox the pictures from TStrings that has all full path and file names like 'c:\folder\picture1.jpeg'? Get link Facebook X Pinterest Email Other Apps Comments Eli MAugust 22, 2018 at 8:07 AMhttp://docwiki.embarcadero.com/RADStudio/Tokyo/en/Mobile_Tutorial:_Using_ListBox_Components_to_Display_a_Table_View_(iOS_and_Android)ReplyDeleteRepliesReplyEli MAugust 22, 2018 at 8:12 AMAlso something like this should work in FMX:ListBoxItem := TListBoxItem.Create(ListBox1);Image := TImage.Create(Self);Image.Bitmap.LoadFromFile('yourimage.png');Image.Parent := ListBoxItem;ListBox1.AddObject(ListBoxItem);ReplyDeleteRepliesReplyGil PadillaAugust 22, 2018 at 8:45 AMPicItem := TListBoxItem.Create(nil); PicItem.Parent := ListBox1; PicItem.ItemData.Bitmap.LoadFromFile('c:\folder\picture1.jpeg'); PicItem.StyleLookup := 'CustomStyle';ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Mobile_Tutorial:_Using_ListBox_Components_to_Display_a_Table_View_(iOS_and_Android)
ReplyDeleteAlso something like this should work in FMX:
ReplyDeleteListBoxItem := TListBoxItem.Create(ListBox1);
Image := TImage.Create(Self);
Image.Bitmap.LoadFromFile('yourimage.png');
Image.Parent := ListBoxItem;
ListBox1.AddObject(ListBoxItem);
PicItem := TListBoxItem.Create(nil);
ReplyDeletePicItem.Parent := ListBox1;
PicItem.ItemData.Bitmap.LoadFromFile('c:\folder\picture1.jpeg');
PicItem.StyleLookup := 'CustomStyle';