Implements a resizable 2-D array of Pointers.

dynamicarray.pasimplements a resizable 2-D array of Pointers. It is used in the implementation of TCustomGrid, TDrawGrid and TStringGrid.

This file is part of the LazUtils package.

Author: Jesus Reyes

EArray is an Exception type. Not used in the current LCL implementation.
Type for event handling.
instance of the TArray that causes the event.
The related Col of the event.
The related Row of the event.
The related Item of the event.
The instance of the TArray that causes the Exchange event.
It implements a resizable 2d array.
It contains the first dimension of the array.
A user-defined function to be called when an item is destroyed.
This can happen in ClearCol,Clear,SetLength
A user-defined function to be called when a new item is created.
Returns the stored item(actually pointer) in array.
the stored item,pointer.
the first dimension of the array.
the second dimension of the array.
Sets an item in the array [col][row].
the first dimension of the array.
the second dimension of the array.
the value to be stored.
Clears the given TList.
The given TList is assumed to be the COL of the array.
Tlist to be cleared.
the first dimension of the array.
Extends a row to its new size(Rows).
current column.
new row size.
The row to be operated on.
event handler called when an item is destroyed.
the column of the destroyed item.
the row of the destroyed item.
the item itself before it is unlinked.
Resizes the array.
new column size.
new row size.
Deletes a column or a row of an array.
Do you want to delete a column?
index of a row or a column.
Moves a column to another column or a row to another row.
Do you want to move a column?
source.
destination.
Swaps two rows or two columns.
Do you want to move a column?
index of row or column.
index of row or column.
Removes all elements from the array.
Reads/Writes an element from the array.
User-defined function which is called when an item is destroyed.
User-defined function which is called when an item is created.