Sign in Join
FPDoc Onlineexperiment

TMemDataset.InternalInitRecord procedure

Member of TMemDatasetprotectedIn unit MemDs

Performs actions needed to initialize a record in the in-memory dataset.

Declaration

pascal
procedure InternalInitRecord(Buffer: TRecordBuffer); override

Arguments

Buffer

Record buffer to initialize in the method.

Description

InternalInitRecord is an overridden procedure used to perform actions needed to initialize a record for the in-memory dataset. InternalInitRecord implements the method defined in the ancestor class. InternalInitRecord calls FillChar to fill the specified Buffer with the value #0 using the defined record size.

InternalInitRecord is used in the implementation of various methods in TMemDataset, including:

  • InitRecord
  • Cancel
  • Append
  • Insert
  • ClearFields
  • Resync

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