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

Вниз

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

 
tytus ©   (2002-12-20 00:43) [0]

Доброй ночи всем. Кто нибудь знает, как из Listbox-а удалить строку? Я использую StringList, а потом в цикле переписываю строчки в ListBox.


 
Cobalt ©   (2002-12-20 00:46) [1]

TCustomListBox.Items:TStrings;
TStrings.Delete:
Introduces an abstract method to delete a specified string from the list.

procedure Delete(Index: Integer); virtual; abstract;

Description

Descendants of TStrings implement a Delete method to remove a specified string from the list. If an object is associated with the string, the reference to the object is removed as well. Index gives the position of the string, where 0 is the first string, 1 is the second string, and so on.


 
zavdim ©   (2002-12-20 06:43) [2]

ListBox.Items.Delete(i);



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

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

Наверх




Память: 0.46 MB
Время: 0.018 c
7-99367
sef
2002-10-24 21:53
2002.12.30
Выполнение части кода из моего сервиса с правами текущего юзера#3


6-99235
nickolayLI
2002-11-01 08:26
2002.12.30
Найти в сети комп с заданным портом


1-99076
tv
2002-12-19 15:58
2002.12.30
Стандартное PopupMenu в TRxRichEdit или TRichEdit


6-99224
Kotka
2002-11-01 19:38
2002.12.30
Два вопроса по модемному соединению


7-99384
wildcow
2002-10-24 15:50
2002.12.30
Расшаренный XML