Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "KOL";
Текущий архив: 2007.09.23;
Скачать: [xml.tar.bz2];

Вниз

как в list view программно чекбоксы включать и выключать?   Найти похожие ветки 

 
Виталий*   (2007-02-11 18:49) [0]

Всем привет!
Поставил Listview с lvkCheckBoxes.
А как в list view программно чекбоксы включать и выключать то?


 
Psychedelic ©   (2007-02-11 19:09) [1]

property LVItemStateImgIdx[ Idx: Integer ]: Integer read LVGetSttImgIdx write LVSetSttImgIdx;
   
      Access to state image of the item. Use index -1 to assign the same state
      image index to all items of the list view at once (fast).
      Option lvoCheckBoxes just means, that control itself creates special inner
      image list for two state images. Later it is possible to examine checked
      state for items or set checked state programmatically by changing
      LVItemStateImgIdx[ ] property. Value 1 corresponds to unchecked state,
      2 to checked. Value 0 allows to remove checkbox at all. So, to check all
      added items by default (e.g.), do following:
       ListView1.LVItemStateImgIdx[ -1 ] := 2;
      Use 1-based index of the image
      in image list ImageListState. Value 0 reserved to use as "no state image".
      Values 1..15 can be used only - this is the Windows restriction on
      state images.


 
Виталий*   (2007-02-12 01:18) [2]

Спасибо! Оказывается все в kol.pas :)



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

Форум: "KOL";
Текущий архив: 2007.09.23;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.274 c
15-1187768765
oldman
2007-08-22 11:46
2007.09.23
Компьютер под столом


2-1188231741
Ellita
2007-08-27 20:22
2007.09.23
Я хочу чтобы мое ехе-шное окно не меняло размер


15-1188215618
Layner
2007-08-27 15:53
2007.09.23
Программирование для PDA в Delphi7


1-1184211090
Phoenix
2007-07-12 07:31
2007.09.23
Необходимо определить были ли пороизведенны изменения на форме


15-1187761907
fisher
2007-08-22 09:51
2007.09.23
Что читают программисты на работе(и не только)





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский