Soap.SOAPDm.TSoapDataModule.AfterConstruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AfterConstruction; override;

C++

virtual void __fastcall AfterConstruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Soap.SOAPDm.pas
Soap.SOAPDm.hpp
Soap.SOAPDm TSoapDataModule

Description

Generates an OnCreate event.

AfterConstruction is called after the SOAP data module's constructor has finished. Do not call it explicitly in applications.

AfterConstruction generates an OnCreate event when OldCreateOrder is false. Then, after the OnCreate event handler exits, it decrements the reference count, which is artificially incremented when the data module is first allocated to prevent the data module from accidentally freeing itself from within the constructor because of a zero reference count.

See Also