[Overview][Types][Classes][Index] Reference for unit 'ExtendedStrings' (#lazutils)

TExtendedStringList

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Implements a string list that allows Records in its Objects property.

Declaration

Source position: extendedstrings.pas line 36

type TExtendedStringList = class(TStringList)

protected

  procedure ResizeRecord(); virtual;

  

Changes the memory allocation size for the specified record.

  function GetObject(); override;

  

Re-implements the read access specifier for the Objects property.

  procedure PutObject(); override;

  

Reimplements the write access specifier for the Objects property.

public

  constructor Create();

  

Constructor for the class instance.

  destructor Destroy; override;

  

Destructor for the class instance.

  procedure Clear; override;

  

Removes items stored in the string list.

  procedure Delete(); override;

  

Deletes the item at the specified position.

  procedure CreateRecord(); virtual;

  

Allocates memory for a new record instance.

  procedure FreeRecord(); virtual;

  

Frees memory allocated for the record at the specified position.

  procedure FreeAllRecords; virtual;

  

Frees memory allocated for all Records in the class.

  function RecordAllocated();

  

Determines if memory has been allocated for the specified record.

  property Records []: pointer; [rw]

  

Provides indexed access to records in the string list.

  property RecordSize: Integer; [rw]

  

Memory allocation size for Records in the class.

  property Options: TExtStringsOptions; [rw]

  

Contains record options enabled in the class.

end;

Inheritance

TExtendedStringList

  

Implements a string list that allows Records in its Objects property.

|

TStringList

|

TStrings

|

TPersistent,IFPObserved

|

TObject

Description

TExtendedStringList is a TStringList descendant that provides support for using records in the class. The Records property allows access to records stored in the class. TExtendedStringList provides overridden methods to maintain values in the Objects property. New properties and methods are included to perform actions needed when adding or freeing Records stored in the Objects property.

See also

TStringList


Version 4.0 Generated 2025-05-03 Home