Vcl.Controls.TDragObjectEx.BeforeDestruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeforeDestruction; override;

C++

virtual void __fastcall BeforeDestruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDragObjectEx

Description

Allows the application to detect that the drag object needs to be freed.

Do not call BeforeDestruction. This method is called automatically before any TDragObjectEx destructors are called. It suppresses the inherited method, which prevents the drag object from being freed at the end of a drag operation.