Sign in Join
FPDoc Onlineexperiment

TExtendedStringList.PutObject procedure

Member of TExtendedStringListprotectedIn unit ExtendedStrings

Reimplements the write access specifier for the Objects property.

Declaration

pascal
procedure PutObject(Index: Integer; AnObject: TObject); override

Description

PutObject is an overridden procedure which reimplements the write access specifier for the Objects property. PutObject uses a pointer to the value in Records stored at the position in Index. If a record has not been stored at the position, CreateRecord is called to allocate and initialize the memory for the record. The value in AnObject is stored in Records at the position in Index.

GetObject and PutObject are called directly (as opposed to using the Objects property) in methods which maintain values in Records.

See also

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