Главная страница
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.012 c
6-99214
Romych
2002-11-01 10:51
2002.12.30
сокеты


1-99078
Кокандокало
2002-12-18 19:49
2002.12.30
Delphi портит иконки..


3-98963
kol
2002-12-09 14:06
2002.12.30
События компонента TField


1-99151
harismatik
2002-12-18 11:13
2002.12.30
Посторение дерева


1-99101
LORD
2002-12-16 20:17
2002.12.30
перетаскивание файлов в EXPLORER