Internet Direct (Indy) Version 9.0.1 Beta
|
procedure Insert(AIndex: Integer; AObject: TObject);
The Index parameter is zero-based, so the first position in the list has an index of 0.
To replace a nil reference with a new object without growing the array, set the Items property directly.