Sign in Join
FPDoc Onlineexperiment

TExtendedStringList.ResizeRecord procedure

Member of TExtendedStringListprotectedIn unit ExtendedStrings

Changes the memory allocation size for the specified record.

Declaration

pascal
procedure ResizeRecord(var ARecord: Pointer; Index: Integer; 
 OldSize: Integer; NewSize: Integer); virtual

Arguments

ARecord

Pointer to the record.

Index

Ordinal position for the specified record.

OldSize

Previous memory allocation size.

NewSize

New memory allocation size.

Description

ResizeRecord is a procedure used to change the memory allocation size for the specified record. ResizeRecord calls ReAllocMem to change the allocated memory size to the value in NewSize. ResizeRecord is called when the value in the RecordSize property is changed.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.