| Class TfrmGenListList (unit LstWiz) |
TObject
--------------------------------------------------------------------} { Class List Object created by List Generater. } {--------------------------------------------------------------------
| Constructors |
constructor Create;| Functions |
function Add(Value: TfrmGenList): integer;
procedure Clear;
procedure Delete(Item: integer);
destructor Destroy;
procedure Insert(Item: integer; Value: TfrmGenList);
function GetCount: integer;
function GetItems(Item: integer): TfrmGenList;| Properties |
property Count : integer
property Items : TfrmGenList| Events |
| Variables |
FList : TList;| Constructors |
constructor Create;while } {======================================================================== Class: TfrmGenListList Note: This list object uses an agressive memory conservation model, meaning that the list frees the objects on the list from memory whenever the item is removed from the list. You can change this behavior to a passive model as employed by Borland's VCL library by making appropriate changes to the Delete method. =========================================================================} {--------------------------------------------------------------------} { Initializes the List Object. } {--------------------------------------------------------------------
| Functions |
function Add(Value: TfrmGenList): integer;Get Count } {--------------------------------------------------------------------} { Adds a new item to the list. } {--------------------------------------------------------------------
procedure Clear;Insert } {--------------------------------------------------------------------} { Frees up memory and empties the list. } {--------------------------------------------------------------------
procedure Delete(Item: integer);Clear } {--------------------------------------------------------------------} { Deletes an item from the list. } {--------------------------------------------------------------------
destructor Destroy;Create } {--------------------------------------------------------------------} { Destroys the List Object. } {--------------------------------------------------------------------
procedure Insert(Item: integer; Value: TfrmGenList);Add } {--------------------------------------------------------------------} { Inserts a new item into the list. } {--------------------------------------------------------------------
function GetCount: integer;Get Items } {--------------------------------------------------------------------} { Returns number of items on the list. } {--------------------------------------------------------------------
function GetItems(Item: integer): TfrmGenList;Destroy } {--------------------------------------------------------------------} { Returns requested item in list. } {--------------------------------------------------------------------
| Properties |
property Count : integer
property Items : TfrmGenList| Events |
| Variables |
FList : TList;