
18.05.2007, 16:26
|
Новичок
|
|
Регистрация: 31.07.2006
Сообщения: 55
Репутация: 10
|
|
Попробуй так:
Код:
var
i, MyCount: integer;
begin
MyCount:=0;
for i := 0 to DirectoryListBox.Count - 1 do
if IdFTP1.DirectoryListing.Items[i].ItemType <> ditDirectory then
Inc(MyCount);
ShowMessage(IntToStr(MyCount));
end;
|