[Overview][Types][Classes][Procedures and functions] |
Exchange the location of two objects
Source position: contnrs.pp line 49
public procedure TFPObjectList.Exchange( |
Index1: Integer; |
Index2: Integer |
); |
Index1 |
|
Location of first object |
Index2 |
|
Location of second object |
Exchangeexchanges the objects at indexes Index1and Index2in a direct operation (i.e. no delete/add is performed).
If either Index1or Index2is invalid, an exception will be raised.
TTFPObjectList.Add |
TTFPObjectList.Delete |