Sign in Join
FPDoc Onlineexperiment

TLookupStringList.Delete procedure

Member of TLookupStringListpublicIn unit LookupStringList

Deletes the value at the specified position.

Declaration

pascal
procedure Delete(Index: Integer); override

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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.