RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragControlObject Class

TDragControlObject object provides for normal drag and drop operations.

Pascal
TDragControlObject = class(TBaseDragControlObject);
C++
class TDragControlObject : public TBaseDragControlObject;

Controls

TDragControlObject object performs normal drag and drop operations. When TDragControlObject is used, the OnDragOver and OnDragDrop events receive the control being dragged as the Sender, instead of the drag object itself.

Note: TDragControlObject is not automatically freed at the end of a drag operation. For a drag object that is automatically freed, use TDragControlObjectEx instead.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!