[Overview][Types][Classes][Index] Reference for unit 'DynamicArray' (#lcl)

TArray

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

It implements a resizable 2d array.

Declaration

Source position: dynamicarray.pas line 36

type TArray = class

public

  constructor Create;

  

  destructor Destroy; override;

  

  procedure SetLength();

  

Resizes the array.

  procedure DeleteColRow();

  

Deletes a column or a row of an array.

  procedure MoveColRow();

  

Moves a column to another column or a row to another row.

  procedure ExchangeColRow();

  

Swaps two rows or two columns.

  procedure Clear;

  

Removes all elements from the array.

  property Arr: Pointer; default; [rw]

  

Reads/Writes an element from the array.

  property OnDestroyItem: TOnNotifyItem; [rw]

  

User-defined function which is called when an item is destroyed.

  property OnNewItem: TOnNotifyItem; [rw]

  

User-defined function which is called when an item is created.

end;

Inheritance

TArray

  

It implements a resizable 2d array.

|

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.