![]() |
|
#1
|
||||
|
||||
![]() Добавил к TStringList функцию
Код:
type TMyStrList=class(TStringList) public function AllNames:TStrings; end; ------------------------------ implementation function TMyStrList.AllNames:TStrings; var i: Byte; begin Result:= TStringList.Create; for i:=0 to Count-1 do Result.Append(Names[i]); end; ------------------------------ |