Sign in Join
FPDoc Onlineexperiment

TObject.InitInstance function

Member of TObjectpublicIn unit System

Initialize a new class instance.

Declaration

pascal
class function InitInstance(instance: pointer): TObject

Description

InitInstance initializes the memory pointer to by Instance. This means that the VMT is initialized, and the interface pointers are set up correctly. The function returns the newly initialized instance.

See also

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