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

Вниз

ListBox   Найти похожие ветки 

 
Sewix ©   (2002-04-28 15:05) [0]

Делаю ListBox1.MultiSelect:=true;
Как узнать содержание выделенных строк.


 
Vovchik ©   (2002-04-28 15:15) [1]

TCustomListBox.Selected

Indicates whether a particular item is selected.

property Selected[Index: Integer]: Boolean;

Description

Use Selected to query the state of a particular item in the list box. If the item specified by the Index parameter is selected in the list box, the value of the Selected property is True. If the specified item is not selected, Selected is False.

The Index parameter is the item referenced by its position in the list box, with the first item having an Index value of 0.

An item is selected when the user highlights it. More than one item in the list box can be selected by setting the MultiSelect property to True. In this case, the Selected item is the one that has focus.


 
Anatoly Podgoretsky ©   (2002-04-28 15:16) [2]

Selected, Items


 
Song ©   (2002-04-28 15:19) [3]

With ListBox1 Do
For t:=0 to Items.Count-1 Do
IF Selected[t] then Memo1.Lines.Add(Items[t]);



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

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

Наверх




Память: 0.47 MB
Время: 0.02 c
1-39736
MaGG
2002-04-27 12:48
2002.05.13
Как в программе выполнить копирование файла?


1-39752
Феликс
2002-04-27 22:44
2002.05.13
Как сделать, чтобы у определенной строки в Listbox был свой цвет.


1-39689
tsarevep
2002-04-29 12:02
2002.05.13
RichText и ListBox


14-39840
Condor
2002-04-04 11:07
2002.05.13
Все тоже копирование базы


1-39720
aabark
2002-04-26 09:24
2002.05.13
Service pack for Delphi6 > 1