TdxFastList.Move(Integer,Integer) Method
Rearranges a stored pointer within the ordered pointer list.
Declaration
procedure Move(ACurrentIndex: Integer; ANewIndex: Integer);
Parameters
Name | Type |
---|---|
ACurrentIndex | Integer |
ANewIndex | Integer |
Remarks
Call this procedure and pass the source and target indexes of a pointer as the ACurrentIndex and ANewIndex parameters to move the pointer. The “List index out of bounds” exception occurs if either of the specified indexes is:
Equal to or greater than the Count property value.
Negative.
Note
A Move procedure call has no effect if the source and target indexes of the stored pointer match.
See Also