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

•  Animation Loaders  648

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

•  TDictionary Custom Sort  7 622

•  Fast Watermark Sources  7 311

•  3D Designer  10 511

•  Sik Screen Capture  7 830

•  Patch Maker  8 058

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

•  ListBox Drag & Drop  6 922

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

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

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

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

•  Canvas Drawing  6 547

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

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

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

•  Paint on Shape  3 282

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

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

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

•  Пазл Numbrix  2 745

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

•  Игра HIP  2 451

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

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

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

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

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

•  HEX View  2 904

 
скрыть

  Форум  

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

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