Hi,
using TTMSFMXNativeUICollectionViewTemplateButton I want to assign dynamically a blob from a SQLite-Field (Type Varbinary).
How do I convert BlobField to UIImage without loosing performance?
procedure TFCatalogue.DetailViewCollectionApplyItemValue(Sender...);
var
MyUIImage: UIImage;
begin
SQLiteQry.RecNo := ARow + 1;
SQLiteQry.RecNo := ARow + 1;
if AControl.Name = DetailViewCollection_ImageArtikel.Name then begin
AsButton(AControl).Button.SetImage(MyUIImage, UIControlState(0));
MyUIImage := SQLiteQry.FieldByName(VarBinaryFieldName) <- how do I get UIImage from Blobfield?
end;
end;
Thanks in Advance!
Dietrich