Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2004.01.13;
Скачать: CL | DM;

Вниз

TListView и картинки   Найти похожие ветки 

 
ИМХО ©   (2003-12-28 10:50) [0]

На форме есть TListView со стилем vsReport. Как отобразить в одной из колонок изображения?


 
dmk ©   (2003-12-28 13:39) [1]

Убедитесь, что свойство SmallImages не Nil, а затем добавьте данные: ListView1.AddItem("xxx", SomeObject);
Тогда появится изображение.

Вот из help"а:
Provides a list of icon images to display for each item in the list when ViewStyle is not vsIcon.

property SmallImages: TCustomImageList;

Description

Set SmallImages to specify the icons that should be displayed next to items in the list when ViewStyle is vsSmallIcon, vsList, or vsReport. Each item in the Items list can be associated with an icon in this image list by setting its ImageIndex property.



Страницы: 1 вся ветка

Текущий архив: 2004.01.13;
Скачать: CL | DM;

Наверх




Память: 0.46 MB
Время: 0.019 c
1-37642
MScorp
2003-12-26 17:34
2004.01.13
Получить Handle без Application


1-37751
npAKTuk
2003-12-29 20:58
2004.01.13
Запись переменной структуры в начало файла


1-37660
ikivio
2003-12-26 10:42
2004.01.13
Чтение части файла.


3-37511
пустойчайник
2003-12-16 12:25
2004.01.13
Странное поведение программы (DBGrid)


4-37974
Vladimir Karpus
2003-11-07 18:19
2004.01.13
GetDIBits периодически ошибается