RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPageControl.Destroy Destructor

Destroys an instance of TPageControl.

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

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TPageControl reference is not nil, and only then calls Destroy. Destroy frees the TList object that holds the pages of the control, and then calls the inherited destructor. 

 

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