Vcl.Controls.TDragObject.Destroy
C++
/* TObject.Destroy */ inline __fastcall virtual ~TDragObject() { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.Controls.hpp | Vcl.Controls | TDragObject |
Description
Frees the memory associated with the TDragObject object.
Delphi: Do not call Destroy to free a TDragObject instance. Instead, use the Free method, which first checks for a nil reference before calling Destroy.
C++: Do not call ~TDragObject directly. Instead, use the delete keyword on the object, which causes ~TDragObject to be invoked automatically.