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

•  Animation Loaders  1 053

•  DeLiKaTeS Tetris (Тетрис)  5 988

•  TDictionary Custom Sort  7 922

•  Fast Watermark Sources  7 582

•  3D Designer  10 822

•  Sik Screen Capture  8 162

•  Patch Maker  8 348

•  Айболит (remote control)  8 398

•  ListBox Drag & Drop  7 257

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

•  Графические эффекты  8 454

•  Рисование по маске  7 820

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

•  Canvas Drawing  6 799

•  Рисование Луны  6 735

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

•  Рисование стержней  4 782

•  Paint on Shape  3 479

•  Генератор кроссвордов  4 497

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

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

•  Пазл Numbrix  2 860

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

•  Игра HIP  2 581

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

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

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

•  Генератор лабиринта  3 154

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

•  HEX View  3 047

 
скрыть

  Форум  

Delphi FAQ - Часто задаваемые вопросы

| Базы данных | Графика и Игры | Интернет и Сети | Компоненты и Классы | Мультимедиа |
| ОС и Железо | Программа и Интерфейс | Рабочий стол | Синтаксис | Технологии | Файловая система |



Delphi Sources

Сохранить 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 




Похожие по теме исходники

Чтение PSD файлов

Шифратор файлов

Разбиение файла на части

Поиск файлов

 

FileMan (менеджер файлов)

Поиск открытых файлов

Текст внутри файла




Copyright © 2004-2026 "Delphi Sources" by «SiteAnalyzer». Delphi World FAQ

Группа ВКонтакте