RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TProviderDataModule.Destroy Destructor

Destroys the instance of the data module.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TProviderDataModule();

Do not call Destroy directly. Instead call Free, which checks that the data module reference is not nil before calling Destroy. 

Before calling the inherited destructor, Destroy removes any fixup references, calls its OnDestroy event handler (if one is defined and OldCreateOrder is true), and informs the global screen variable that the data module is going away. 

 

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