Vcl.ComCtrls.TPageControl.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TPageControl(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TPageControl |
Description
Destroys an instance of 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.