TFPSList.Delete

Delete an item from the list

Declaration

Source position: fgl.pp line 77

public 
  procedure Delete(Index: Integer);

Description

Delete deletes the item at position Index from the list. Depending on the descendent, the list items itself may be cleared as well.

Errors

If Index is out of bounds, an EListError exception is raised.

See also

Name Description
TFPSList.Add Add a new item to the list
TFPSList.Clear Clear the list
TFPSList.Items Items in the list