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;

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!