Class TList

Declaration
TList = class(TObject)
  function Add(Obj: TObject): Integer;
  procedure Clear;
  function Count: Integer;
  constructor Create;
  procedure Delete(Index: Integer);
  destructor Destroy;
  function GetItems(Index: Integer): TObject;
  function IndexOf(Obj: TObject): Integer;
  procedure Insert(Index: Integer; Obj: TObject);
  property Items[Index: Integer]: TObject read GetItems write SetItems; default;
  function Remove(Obj: TObject): Integer;
  procedure SetItems(Index: Integer; Value: TObject);
end;
Description

A wrapper for the Delphi class TList. See Delphi help for more information.


Method TList.Add

Declaration
function Add(Obj: TObject): Integer;
Description



Method TList.Clear

Declaration
procedure Clear;
Description



Method TList.Count

Declaration
function Count: Integer;
Description



Method TList.Create

Declaration
constructor Create;
Description



Method TList.Delete

Declaration
procedure Delete(Index: Integer);
Description



Method TList.Destroy

Declaration
destructor Destroy;
Description



Method TList.GetItems

Declaration
function GetItems(Index: Integer): TObject;
Description



Method TList.IndexOf

Declaration
function IndexOf(Obj: TObject): Integer;
Description



Method TList.Insert

Declaration
procedure Insert(Index: Integer; Obj: TObject);
Description



Property TList.Items

Declaration
property Items[Index: Integer]: TObject read GetItems write SetItems; default;
Description



Method TList.Remove

Declaration
function Remove(Obj: TObject): Integer;
Description



Method TList.SetItems

Declaration
procedure SetItems(Index: Integer; Value: TObject);
Description