stringlistcontainer Delete method
Return to Introduction  Previous page  Next page
Applies to
acStringListContainer component.  

Declaration
procedure Delete(Index: Integer);  

Description
The Delete method removes the string specified by the Index parameter.  
 
Call Delete to remove a single string from the list. If an object is associated with the string, the reference to the object is removed as well. Index gives the position of the string, where 0 is the first string, 1 is the second string, and so on ("Count - 1" is the position of last string in the list).  

See also
Clear and DeleteFirstItem methods.