System.Classes.RemoveDataModule

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

RemoveDataModule: procedure (DataModule: TDataModule) of object = nil;

C++

extern DELPHI_PACKAGE void __fastcall (__closure *RemoveDataModule)(TDataModule* DataModule);

Properties

Type Visibility Source Unit Parent
variable public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

Defines a procedure to be called when a TDataModule class is destroyed.

If the RemoveDataModule variable is set, Destroy will invoke the procedure it defines, passing itself in the Sender parameter.

See Also