Главная страница
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.017 c
14-99251
Сатир
2002-12-10 17:46
2002.12.30
Из милицейских протоколов


1-99185
Alex-Barmaley
2002-12-19 06:47
2002.12.30
Надо перекодить KOI8 - Win


1-99168
Error
2002-12-18 15:35
2002.12.30
TListView


3-98955
Stas
2002-12-09 16:54
2002.12.30
копирование данных в буфер обмена


4-99421
krokodill_gen
2002-11-12 14:18
2002.12.30
Pomogite sdelat okno poluprozrachnim...