//图标 var theIcon:TICON; begin theIcon:=TICON.Create; theIcon.LoadFromFile('D:\30-Be98 Desktop Internet.ico'); ImageList1.AddIcon(theIcon); end; //位图 var theBitMap1:TBitMap; begin theBitMap1:=TBitMap.Create; theBitMap1.LoadFromFile('D:\Folder Private_p1.bmp'); ImageList1.Add(theBitMap1,nil); end;
imagelist.add(????????)
var
theIcon:TICON;
begin
theIcon:=TICON.Create;
theIcon.LoadFromFile('D:\30-Be98 Desktop Internet.ico');
ImageList1.AddIcon(theIcon);
end;
//位图
var
theBitMap1:TBitMap;
begin
theBitMap1:=TBitMap.Create;
theBitMap1.LoadFromFile('D:\Folder Private_p1.bmp');
ImageList1.Add(theBitMap1,nil);
end;