Vcl.DBCtrls.TPaintControl.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TPaintControl();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TPaintControl |
Description
Destroys the TPaintControl and frees its memory.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TPaintControl reference is not nil, and only then calls Destroy.
Destroy frees the window used by the paint control.