Vcl.Controls.TDragObjectEx.BeforeDestruction
Delphi
procedure BeforeDestruction; override;
C++
virtual void __fastcall BeforeDestruction(void);
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.