RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragObjectEx.BeforeDestruction Method

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

Pascal
procedure BeforeDestruction; override;
C++
virtual __fastcall BeforeDestruction();

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!