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

•  DeLiKaTeS Tetris (Тетрис)  352

•  TDictionary Custom Sort  3 493

•  Fast Watermark Sources  3 240

•  3D Designer  5 005

•  Sik Screen Capture  3 493

•  Patch Maker  3 699

•  Айболит (remote control)  3 898

•  ListBox Drag & Drop  3 162

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

•  Графические эффекты  4 098

•  Рисование по маске  3 392

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

•  Canvas Drawing  2 914

•  Рисование Луны  2 721

•  Поворот изображения  2 335

•  Рисование стержней  2 225

•  Paint on Shape  1 626

•  Генератор кроссвордов  2 307

•  Головоломка Paletto  1 823

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

•  Пазл Numbrix  1 718

•  Заборы и коммивояжеры  2 093

•  Игра HIP  1 315

•  Игра Go (Го)  1 262

•  Симулятор лифта  1 510

•  Программа укладки плитки  1 258

•  Генератор лабиринта  1 582

•  Проверка числового ввода  1 401

•  HEX View  1 535

•  Физический маятник  1 387

 
скрыть


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-2024 "Delphi Sources" by BrokenByte Software. Delphi World FAQ

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