RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.RemoveDataModule Variable

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

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

Classes

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

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!