Forum: Sonstige Fragen zu Delphi
Delphi
by Pseudemys Nelsoni,
23. Aug 2003
hm k, aber wie kann ich denn prüfen ob das icon in der imagelist existiert? ^^
Forum: Sonstige Fragen zu Delphi
Delphi
by Pseudemys Nelsoni,
23. Aug 2003
ich las nur das:
btw mit getbitmap gings ja damals auch, ich denkmal das es da kein grosser unterschied zu geticon ist oder?
Forum: Sonstige Fragen zu Delphi
Delphi
by Pseudemys Nelsoni,
23. Aug 2003
procedure GetIco(ImL: TImageList; Im: Timage; i: integer);
var
ico: TIcon;
begin
ico := TIcon.Create;
Try
if ImL.GetIcon(i, ico) then
Im.Picture.Icon.Assign(ico);
finally
ico.Free;