Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Timage aus Blobfeld
9. Apr 2007, 13:25
Hi,
Dann speicherst du das Blobfield in nen normalen Stream und lädst dann das Icon daraus aus.
Delphi-Quellcode:
var Stream: TMemoryStream;
begin
// [...]
Stream := TMemoryStream.Create;
try
blobf.SaveToStream(Stream);
Image1.Picture.Icon.LoadFromStream(Stream);
finally
Stream.Free;
end;
// [...]
end;
Gruß
Neutral General
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|