Sign in Join
FPDoc Onlineexperiment

TExtendedStringList.CreateRecord procedure

Member of TExtendedStringListpublicIn unit ExtendedStrings

Allocates memory for a new record instance.

Declaration

pascal
procedure CreateRecord(Index: Integer); virtual

Description

CreateRecord is a procedure used to allocate (and optionally initialize) memory for a new value in the Records property. CreateRecord calls GetMem to allocate the memory size specified in the RecordSize property. When Options includes the value esoClearRecordsOnCreate, the allocated memory is filled with the character value #0. CreateRecord calls the inherited PutObject method to store the new record.

CreateRecord is called when reading a value in the Records property, and when writing a value to the Objects property.

See also

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