Недавно добавленные исходники

•  DeLiKaTeS Tetris (Тетрис)  4 796

•  TDictionary Custom Sort  6 793

•  Fast Watermark Sources  6 581

•  3D Designer  9 534

•  Sik Screen Capture  6 918

•  Patch Maker  7 365

•  Айболит (remote control)  7 303

•  ListBox Drag & Drop  6 168

•  Доска для игры Реверси  98 108

•  Графические эффекты  7 481

•  Рисование по маске  6 774

•  Перетаскивание изображений  5 630

•  Canvas Drawing  6 007

•  Рисование Луны  5 798

•  Поворот изображения  5 251

•  Рисование стержней  3 844

•  Paint on Shape  2 999

•  Генератор кроссвордов  3 955

•  Головоломка Paletto  3 138

•  Теорема Монжа об окружностях  3 969

•  Пазл Numbrix  2 620

•  Заборы и коммивояжеры  3 431

•  Игра HIP  2 347

•  Игра Go (Го)  2 264

•  Симулятор лифта  2 664

•  Программа укладки плитки  2 225

•  Генератор лабиринта  2 775

•  Проверка числового ввода  2 385

•  HEX View  2 720

•  Физический маятник  2 411

 
скрыть

Сохранить TImageList в файл со всеми картинками



Оформил: DeeCo

// There are ready-made methods for saving any component including all its children to a file. 
// For writing components use WriteComponentResFile(path + source filename , component name source) 

WriteComponentResFile('C:\imagelist1.bin',imagelist1);

 // For reading the data back to a component: 
// component := ReadComponentResFile(path + source filename , component name traget) 

imagelist1 := ReadComponentResFile('c:\imagelist1.bin', nil) as TImagelist;

 // Tip 1 - Reading the component will give the same name of the component written so don't try to 
// load it to another component, even if it was the same type. You will get a duplicate name and 
// delphi will crash. But you can jump over this as a programmer 

// Tip 2 - Get benfit of storing the heavy components inside compressed files, 
// so you can get smaller programs