try ImageList1.Add(Bitmap, nil); except Bitmap.LoadFromResourceName(HInstance, 'FOLDER'); ImageList1.Add(Bitmap, nil); end;