[Overview][Classes][Procedures and functions][Index] Reference for unit 'LookupStringList' (#lazutils)

TLookupStringList.Delete

Deletes the value at the specified position.

Declaration

Source position: lookupstringlist.pas line 49

public procedure TLookupStringList.Delete(

  Index: Integer

); override;

Arguments

Index

  

Ordinal position of the value to delete.

Description

Delete is an overridden method which ensures that the internal string map is maintained when deleting the value stored at the specified position. The corresponding value in Strings is used to check for duplicates using IndexOf. When a duplicate exists, and Duplicates are not allowed, the value is also removed from the internal string map. Delete calls the inherited method to delete the values in Strings and Objects at the position in Index.

See also

TStringList.Delete


Version 4.0 Generated 2025-05-03 Home